public void Init(Unit playerUnit, PlayerStats initStats) { PlayerUnit = playerUnit; UpdateVariables(initStats); CurrentDiamondsCount = new PlayerDiamonds(0, 0, 0); }
public void Add(PlayerDiamonds playerDiamonds) { GreenDiamonds += playerDiamonds.GreenDiamonds; RedDiamonds += playerDiamonds.RedDiamonds; PurpleDiamonds += playerDiamonds.PurpleDiamonds; }
public void UpdateDiamondsCount(PlayerDiamonds playerDiamonds) { CurrentDiamondsCount.Add(playerDiamonds); }