More heroEnergy and monsterEnergy into BattleState
This commit is contained in:
parent
679fc526cc
commit
f1ef7d7d46
3 changed files with 20 additions and 21 deletions
|
|
@ -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;}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue