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

Method setIsLookingLeft

code/main/Wolf.ts:108–115  ·  view source on GitHub ↗
(isLookingLeft: boolean)

Source from the content-addressed store, hash-verified

106 }
107
108 private setIsLookingLeft(isLookingLeft: boolean): void{
109 // If the value is different
110 if(isLookingLeft != this.isLookingLeft){
111 this.isLookingLeft = isLookingLeft; // Set the value
112 this.updateQuestEntityMovementOffset(); // Update the movement
113 this.reDrawArea(); // Update the area
114 }
115 }
116
117 private setIsStanding(isStanding: boolean): void{
118 // If the value is different

Callers 2

constructorMethod · 0.95
updateMethod · 0.95

Calls 2

reDrawAreaMethod · 0.95

Tested by

no test coverage detected