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

Method update

code/main/Cfg.ts:173–188  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

171 }
172
173 private update(): void{
174 // Erase everything
175 this.renderArea.resetAllButSize();
176
177 // The "Configuration" text
178 this.drawConfigurationText(0, 0);
179
180 // Language selection
181 this.drawCfgLanguage(0, 8);
182
183 // Invert colors checkbox
184 this.drawCfgInvertColors(0, 12);
185
186 // "About" section
187 this.drawAbout(0, 18);
188 }
189}

Callers 3

constructorMethod · 0.95
languageSelectedMethod · 0.95
setInvertedColorsMethod · 0.95

Calls 5

drawConfigurationTextMethod · 0.95
drawCfgLanguageMethod · 0.95
drawCfgInvertColorsMethod · 0.95
drawAboutMethod · 0.95
resetAllButSizeMethod · 0.80

Tested by

no test coverage detected