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

Method draw

code/main/RenderTagLt.ts:14–18  ·  view source on GitHub ↗
(str: string)

Source from the content-addressed store, hash-verified

12 }
13
14 public draw(str: string): string{
15 // Instead of adding ourselves, we delete one character under the x position and then add the "<"
16 str = str.replaceAt(this.getX(), "&");
17 return str.addAt(this.getX()+1, "lt;");
18 }
19}

Callers

nothing calls this directly

Calls 3

replaceAtMethod · 0.80
getXMethod · 0.80
addAtMethod · 0.80

Tested by

no test coverage detected