Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ addHotkey
Method
addHotkey
code/main/Game.ts:172–174 ·
view source on GitHub ↗
(hotkey: Hotkey)
Source
from the content-addressed store, hash-verified
170
171
// Public methods
172
public addHotkey(hotkey: Hotkey){
173
this.hotkeys[hotkey.getKeyString()] = hotkey;
174
}
175
176
public addSpecialHotkey(hotkey: Hotkey){
177
this.specialHotkeys.push(hotkey);
Callers
7
willBeDisplayed
Method · 0.80
willBeDisplayed
Method · 0.80
willBeDisplayed
Method · 0.80
willBeDisplayed
Method · 0.80
addHotkeys
Method · 0.80
willBeDisplayed
Method · 0.80
willBeDisplayed
Method · 0.80
Calls
1
getKeyString
Method · 0.80
Tested by
no test coverage detected