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

Method willStopBeingDisplayed

code/main/MainMap.ts:24–26  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23 // willStopBeingDisplayed()
24 public willStopBeingDisplayed(): void{
25 Saving.saveNumber("mainMapDefaultScroll", this.getGame().getMainContentLocation().getScroll());
26 }
27
28 // Public getters
29 public getDefaultScroll(): number{

Callers

nothing calls this directly

Calls 3

getScrollMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected