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

Method resetPuzzle

code/main/Lighthouse.ts:133–140  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

131 }
132
133 private resetPuzzle(): void{
134 // Re create the puzzle
135 this.puzzle = new LighthousePuzzle(this);
136
137 // Update
138 this.update();
139 this.getGame().updatePlace();
140 }
141
142 private selectRightQuestion(): void{
143 // We select the right question

Callers

nothing calls this directly

Calls 3

updateMethod · 0.95
updatePlaceMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected