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

Method constructor

code/main/Save.ts:24–35  ·  view source on GitHub ↗
(game: Game)

Source from the content-addressed store, hash-verified

22
23 // Constructor
24 constructor(game: Game){
25 super(game);
26
27 // Resize
28 this.resize();
29
30 // Create the slots array
31 this.createSlotsArray();
32
33 // Update
34 this.update();
35 }
36
37 // getRenderArea()
38 public getRenderArea(): RenderArea{

Callers

nothing calls this directly

Calls 3

resizeMethod · 0.95
createSlotsArrayMethod · 0.95
updateMethod · 0.95

Tested by

no test coverage detected