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

Method applyInvertedColorsToCss

code/main/Game.ts:180–185  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

178 }
179
180 public applyInvertedColorsToCss(): void{
181 if(Saving.loadBool("gameInvertedColors") == false)
182 $('#invertColorsStylesheet').remove();
183 else
184 $('head').append('<link href="css/invertColors.css" rel="stylesheet" id="invertColorsStylesheet"/>');
185 }
186
187 public calcLollipopFarmProduction(): void{
188 // Is the production each second ?

Callers 2

loadMethod · 0.95
setInvertedColorsMethod · 0.80

Calls 3

$Function · 0.85
appendMethod · 0.80
removeMethod · 0.65

Tested by

no test coverage detected