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

Method constructor

code/main/Cfg.ts:29–37  ·  view source on GitHub ↗
(game: Game)

Source from the content-addressed store, hash-verified

27
28 // Constructor
29 constructor(game: Game){
30 super(game);
31
32 // Resize the area
33 this.renderArea.resize(100, 48);
34
35 // Update for the first time
36 this.update();
37 }
38
39 // getRenderArea()
40 public getRenderArea(): RenderArea{

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
resizeMethod · 0.65

Tested by

no test coverage detected