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

Method setGoingDown

code/main/Devil.ts:171–180  ·  view source on GitHub ↗
(goingDown: boolean)

Source from the content-addressed store, hash-verified

169 }
170
171 private setGoingDown(goingDown: boolean): void{
172 this.goingDown = goingDown;
173
174 if(this.goingDown){
175 this.getQuestEntityMovement().setOffset(new Pos(0, 1));
176 }
177 else{
178 this.getQuestEntityMovement().setOffset(new Pos(0, -1));
179 }
180 }
181}

Callers 2

constructorMethod · 0.95
handleUpDownMovementMethod · 0.95

Calls 2

setOffsetMethod · 0.80

Tested by

no test coverage detected