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

Method constructor

code/main/SorceressHut.ts:17–26  ·  view source on GitHub ↗
(game: Game)

Source from the content-addressed store, hash-verified

15
16 // Constructor
17 constructor(game: Game){
18 super(game);
19
20 // Set the default speech
21 this.currentSpeech = "sorceressHutHello";
22
23 // Resize & update
24 this.renderArea.resize(144, 48);
25 this.update();
26 }
27
28 // getRenderArea()
29 public getRenderArea(): RenderArea{

Callers

nothing calls this directly

Calls 2

updateMethod · 0.95
resizeMethod · 0.65

Tested by

no test coverage detected