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

Method actionSmokes

code/main/Village.ts:37–46  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

35
36 // Private methods
37 private actionSmokes(): void{
38 // We make the smokes move
39 for(var i = 0; i < this.smokes.length; i++){
40 this.smokes[i].move();
41 }
42
43 // We update on the page
44 this.update();
45 this.getGame().updatePlace();
46 }
47
48 private update(): void{
49 // Erase everything

Callers

nothing calls this directly

Calls 4

updateMethod · 0.95
updatePlaceMethod · 0.80
moveMethod · 0.45
getGameMethod · 0.45

Tested by

no test coverage detected