MCPcopy Create free account
hub / github.com/candybox2/candybox2.github.io / teleport

Method teleport

code/main/QuestEntity.ts:425–427  ·  view source on GitHub ↗
(pos: Pos)

Source from the content-addressed store, hash-verified

423 }
424
425 public teleport(pos: Pos): boolean{
426 return this.setGlobalPosition(pos);
427 }
428
429 public testNewGlobalPosition(pos: Pos): boolean{
430 var oldPosition: Pos = this.globalPosition;

Callers 2

castPlayerTeleportMethod · 0.80
updateMethod · 0.80

Calls 1

setGlobalPositionMethod · 0.95

Tested by

no test coverage detected