More heroEnergy and monsterEnergy into BattleState

This commit is contained in:
henriquenakashima 2020-10-13 00:50:29 -04:00
parent 679fc526cc
commit f1ef7d7d46
3 changed files with 20 additions and 21 deletions

View file

@ -8,10 +8,14 @@ public class BattleState
private bool playedEmotion;
private BattleClock clock;
private BuffManager buffManager;
private EnergyPool heroEnergy;
private EnergyPool monsterEnergy;
public BattleState() {
this.clock = new BattleClock();
this.buffManager = new BuffManager(this.clock);
this.heroEnergy = new EnergyPool();
this.monsterEnergy = new EnergyPool();
}
public bool IsTeamsTurnToPlay(TeamChoice team) {
@ -41,4 +45,7 @@ public class BattleState
public BattleClock Clock {get => this.clock;}
public BuffManager BuffManager {get => this.buffManager;}
public EnergyPool HeroEnergy {get => this.heroEnergy;}
public EnergyPool MonsterEnergy {get => this.monsterEnergy;}
}