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

Method getColorString

code/main/Color.ts:24–30  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

22
23 // Public getters
24 public getColorString(): string{
25 // If the player doesn't use inverted colors or we don't need to invert
26 if(Saving.loadBool("gameInvertedColors") == false || this.shouldInvert == false)
27 return this.colorString;
28 else
29 return this.invertedColorString;
30 }
31
32 // Public setters
33 public setColorType(colorType: ColorType): void{

Callers 3

addAsciiRealButtonMethod · 0.80
addBackgroundColorMethod · 0.80
addColorMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected