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

Method getLine

code/main/RenderArea.ts:567–572  ·  view source on GitHub ↗
(n: number)

Source from the content-addressed store, hash-verified

565 }
566
567 public getLine(n: number): string{
568 if(n < 0 || n >= this.height)
569 console.log("Error : trying to get a line out of the bounds of a drawing area.");
570 else
571 return this.area[n];
572 }
573
574 public getTags(): RenderTag[][]{
575 return this.tags;

Callers 1

drawAreaMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected