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

Method constructor

code/main/Castle.ts:10–15  ·  view source on GitHub ↗
(game: Game)

Source from the content-addressed store, hash-verified

8
9 // Constructor
10 constructor(game: Game){
11 super(game);
12
13 this.renderArea.resizeFromArray(Database.getAscii("places/castle/map"), 0, 5);
14 this.update();
15 }
16
17 // getRenderArea()
18 public getRenderArea(): RenderArea{

Callers

nothing calls this directly

Calls 3

updateMethod · 0.95
resizeFromArrayMethod · 0.80
getAsciiMethod · 0.80

Tested by

no test coverage detected