Move PlayArea into BattleState
This commit is contained in:
parent
12eb97084f
commit
cb88ae78b6
2 changed files with 8 additions and 7 deletions
|
|
@ -12,12 +12,14 @@ public class BattleState
|
|||
private EnergyPool monsterEnergy;
|
||||
private BattleDeck<HeroCard> heroDeck;
|
||||
private BattleDeck<MonsterCard> monsterDeck;
|
||||
private PlayArea playArea;
|
||||
|
||||
public BattleState() {
|
||||
this.clock = new BattleClock();
|
||||
this.buffManager = new BuffManager(this.clock);
|
||||
this.heroEnergy = new EnergyPool();
|
||||
this.monsterEnergy = new EnergyPool();
|
||||
this.playArea = new PlayArea();
|
||||
}
|
||||
|
||||
public void SetDecks(BattleDeck<HeroCard> heroDeck, BattleDeck<MonsterCard> monsterDeck) {
|
||||
|
|
@ -57,4 +59,5 @@ public class BattleState
|
|||
public EnergyPool MonsterEnergy {get => this.monsterEnergy;}
|
||||
public BattleDeck<HeroCard> HeroDeck {get => this.heroDeck;}
|
||||
public BattleDeck<MonsterCard> MonsterDeck {get => this.monsterDeck;}
|
||||
public PlayArea PlayArea {get => this.playArea;}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue