Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
castPlayerTeleport
Method · 0.80
update
Method · 0.80
Calls
1
setGlobalPosition
Method · 0.95
Tested by
no test coverage detected