Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ setWeapon
Method
setWeapon
code/main/SuperRPG.ts:189–191 ·
view source on GitHub ↗
(weapon: string)
Source
from the content-addressed store, hash-verified
187
}
188
189
public setWeapon(weapon: string): void{
190
this.weapon = weapon;
191
}
192
193
// Private methods
194
private drawGame(): void{
Callers
1
buyWeapon
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected