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

Method addYourself

code/main/Yourself.ts:92–96  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

90
91 // Private methods
92 private addYourself(): void{
93 this.yourself = new YourselfEntity(this, new Pos(96, 19));
94 this.yourself.setHealthBar(new QuestEntityHealthBar(this.yourself, new Pos(100, 1), new Pos(0, 0), QuestEntityHealthBarPositionType.FIXED_ON_PAGE, true, true, BarType.HEALTH));
95 this.addEntity(this.yourself);
96 }
97
98 private addWalls(): void{
99 // Create the wall entity

Callers 1

constructorMethod · 0.95

Calls 2

setHealthBarMethod · 0.80
addEntityMethod · 0.80

Tested by

no test coverage detected