MCPcopy 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

playerAttacksMethod · 0.80
buyDefenseItemMethod · 0.80
buyHealthCrystalMethod · 0.80
buyHealthPendantMethod · 0.80
buyHealthPotionMethod · 0.80
buySuperHealthPotionMethod · 0.80
buyWeaponMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected