Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/candybox2/candybox2.github.io
/ setCoins
Method
setCoins
code/main/SuperRPG.ts:157–159 ·
view source on GitHub ↗
(coins: number)
Source
from the content-addressed store, hash-verified
155
156
// Public setters
157
public setCoins(coins: number): void{
158
this.coins = coins;
159
}
160
161
public setDamage(damage: number): void{
162
this.damage = damage;
Callers
7
playerAttacks
Method · 0.80
buyDefenseItem
Method · 0.80
buyHealthCrystal
Method · 0.80
buyHealthPendant
Method · 0.80
buyHealthPotion
Method · 0.80
buySuperHealthPotion
Method · 0.80
buyWeapon
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected