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

Method constructor

code/main/RenderArea.ts:13–15  ·  view source on GitHub ↗
(width: number = 0, height: number = 0, character: string = " ")

Source from the content-addressed store, hash-verified

11
12 // Constructor : by default, it creates en empty drawing area
13 constructor(width: number = 0, height: number = 0, character: string = " "){
14 this.resize(width, height, character);
15 }
16
17 // Public methods
18 public addAsciiButton(x1: number, x2: number, y: number, otherClass: string = ""): boolean{

Callers

nothing calls this directly

Calls 1

resizeMethod · 0.95

Tested by

no test coverage detected