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

Method willBeDisplayed

code/main/SecondHouse.ts:59–62  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

57
58 // Public methods
59 public willBeDisplayed(): void{
60 // We need to update each time we're going to be displayed in case some item should not be sold anymore because of some stuff we were doing while this place wasn't displayed
61 this.update();
62 }
63
64 // getRenderArea()
65 public getRenderArea(): RenderArea{

Callers

nothing calls this directly

Calls 1

updateMethod · 0.95

Tested by

no test coverage detected