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

Method constructor

code/main/TheArena.ts:8–13  ·  view source on GitHub ↗
(game: Game)

Source from the content-addressed store, hash-verified

6
7 // Constructor
8 constructor(game: Game){
9 super(game);
10
11 this.renderArea.resize(100, 20);
12 this.update();
13 }
14
15 // getRenderArea()
16 public getRenderArea(): RenderArea{

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
resizeMethod · 0.65

Tested by

no test coverage detected