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

Method constructor

code/main/Pier.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.resizeFromArray(Database.getAscii("places/pier"), 0, 6);
12 this.update();
13 }
14
15 // getRenderArea()
16 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