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

Method willBeDisplayed

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

Source from the content-addressed store, hash-verified

24
25 // Public methods
26 public willBeDisplayed(): void{
27 this.getGame().getOneSecondCallbackCollection().addCallback(this.actionSmokes.bind(this));
28 this.update(); // We update. This is needed because the village is the first thing to be loaded when we launch the game
29 }
30
31 // getRenderArea()
32 public getRenderArea(): RenderArea{

Callers

nothing calls this directly

Calls 5

updateMethod · 0.95
addCallbackMethod · 0.80
bindMethod · 0.80
getGameMethod · 0.45

Tested by

no test coverage detected