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

Method addChest

code/main/CastleRoom3.ts:82–84  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

80
81 // Private methods
82 private addChest(): void{
83 this.addEntity(new Chest(this, new Pos(7, 23), true, new CallbackCollection(this.openChest.bind(this)), Saving.loadBool("gridItemPossessedL")));
84 }
85
86 private addEggs(): void{
87 this.addEntity(new Egg(this, new Pos(16, 23), new CallbackCollection(this.anEggDiedCallback.bind(this))));

Callers 1

constructorMethod · 0.95

Calls 2

addEntityMethod · 0.80
bindMethod · 0.80

Tested by

no test coverage detected