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

Method addSpecialHotkey

code/main/Game.ts:176–178  ·  view source on GitHub ↗
(hotkey: Hotkey)

Source from the content-addressed store, hash-verified

174 }
175
176 public addSpecialHotkey(hotkey: Hotkey){
177 this.specialHotkeys.push(hotkey);
178 }
179
180 public applyInvertedColorsToCss(): void{
181 if(Saving.loadBool("gameInvertedColors") == false)

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected