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

Method constructor

code/main/WishingWell.ts:39–46  ·  view source on GitHub ↗
(game: Game)

Source from the content-addressed store, hash-verified

37
38 // Constructor
39 constructor(game: Game){
40 super(game);
41
42 this.createPossibleEnchantments();
43
44 this.renderArea.resizeFromArray(Database.getAscii("places/wishingWell"), 62, 3);
45 this.update();
46 }
47
48 // getRenderArea()
49 public getRenderArea(): RenderArea{

Callers

nothing calls this directly

Calls 4

updateMethod · 0.95
resizeFromArrayMethod · 0.80
getAsciiMethod · 0.80

Tested by

no test coverage detected