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

Method addMosquito

code/main/Forest.ts:108–110  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

106 }
107
108 private addMosquito(): boolean{
109 return this.addEntity(new Mosquito(this, new Pos(0, this.groundYPosition-Random.between(3, 7)), this.groundYPosition));
110 }
111
112 private addTreeSpirit(xPosition: number = 294): boolean{ // By default the wolf will be added at the end of the forest
113 var treeSpirit: QuestEntity = new TreeSpirit(this, new Pos(xPosition, this.groundYPosition-4), this.groundYPosition);

Callers 1

monstersHandlingMethod · 0.95

Calls 1

addEntityMethod · 0.80

Tested by

no test coverage detected