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

Method setIsStanding

code/main/Wolf.ts:117–124  ·  view source on GitHub ↗
(isStanding: boolean)

Source from the content-addressed store, hash-verified

115 }
116
117 private setIsStanding(isStanding: boolean): void{
118 // If the value is different
119 if(isStanding != this.isStanding){
120 this.isStanding = isStanding; // Set the value
121 this.updateQuestEntityMovementOffset(); // Update the movement
122 this.reDrawArea(); // Update the area
123 }
124 }
125
126 private updateQuestEntityMovementOffset(): void{
127 // If we're standing

Callers 2

constructorMethod · 0.95
updateMethod · 0.95

Calls 2

reDrawAreaMethod · 0.95

Tested by

no test coverage detected