public PlayerStatManager() { CoinStats = new CoinStats(UtilityClass.CoinName); SuperMushroomStats = new SuperMushroomStats(UtilityClass.SuperMushroomName); FireFlowerStats = new FireFlowerStats(UtilityClass.FireFlowerName); SuperStarStats = new SuperStarStats(UtilityClass.SuperStarName); KoopaStats = new KoopaStats(UtilityClass.KoopaName); GoombaStats = new GoombaStats(UtilityClass.GoombaName); BrickBlockStats = new BreakableBlockStats(UtilityClass.BrickBlockName); }
public void GotCoin() { CoinStats.IncreaseValue(1); }