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

Method drawGreen

code/main/Save.ts:137–140  ·  view source on GitHub ↗
(text: string, x: number, y: number, translated: boolean = false)

Source from the content-addressed store, hash-verified

135 }
136
137 private drawGreen(text: string, x: number, y: number, translated: boolean = false): void{
138 this.renderArea.drawString(text, x, y, translated);
139 this.renderArea.addColor(x, x + text.length, y, new Color(ColorType.SAVE_GREEN));
140 }
141
142 private drawLocalLoad(x: number, y: number): number{
143 // The y we will return (will remain 0 if there's no translation to show)

Callers 1

drawLocalSaveMethod · 0.95

Calls 2

drawStringMethod · 0.80
addColorMethod · 0.45

Tested by

no test coverage detected