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

Method forceMovingAllEntities

code/main/Quest.ts:594–598  ·  view source on GitHub ↗
(movement: Pos)

Source from the content-addressed store, hash-verified

592 }
593
594 public forceMovingAllEntities(movement: Pos): void{
595 for(var i = 0; i < this.entities.length; i++){
596 this.entities[i].forceMoving(movement);
597 }
598 }
599
600 public getCandiesDropMessage(): string{
601 return "You gain " + Algo.pluralFormat(this.candiesFound.getCurrent(), " candy", " candies") + ".";

Callers 1

globalScrollingMethod · 0.80

Calls 1

forceMovingMethod · 0.80

Tested by

no test coverage detected