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

Method constructor

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

Source from the content-addressed store, hash-verified

21
22 // Constructor
23 constructor(game: Game){
24 super(game);
25
26 // Resize and update
27 this.renderArea.resize(100, 40);
28 this.update();
29 }
30
31 // getRenderArea()
32 public getRenderArea(): RenderArea{

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
resizeMethod · 0.65

Tested by

no test coverage detected