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

Method addGround

code/main/Cellar.ts:79–83  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

77
78 // Private methods
79 private addGround(): void{
80 var wall: Wall = new Wall(this, new Pos(0, this.getRealQuestSize().y));
81 wall.addBox(new Pos(0, 0), new Pos(this.getRealQuestSize().x, 1));
82 this.addEntity(wall);
83 }
84
85 private addRat(pos: Pos): void{
86 var rat: Rat = new Rat(this, pos);

Callers 1

constructorMethod · 0.95

Calls 3

addBoxMethod · 0.95
getRealQuestSizeMethod · 0.80
addEntityMethod · 0.80

Tested by

no test coverage detected