Move InsightLevel into BattleState
This commit is contained in:
parent
cb88ae78b6
commit
c2fc8b0904
3 changed files with 10 additions and 8 deletions
|
|
@ -13,6 +13,9 @@ public class BattleState
|
|||
private BattleDeck<HeroCard> heroDeck;
|
||||
private BattleDeck<MonsterCard> monsterDeck;
|
||||
private PlayArea playArea;
|
||||
private InsightLevel insightLevel;
|
||||
|
||||
private int STARTING_INSIGHT = 3;
|
||||
|
||||
public BattleState() {
|
||||
this.clock = new BattleClock();
|
||||
|
|
@ -20,6 +23,8 @@ public class BattleState
|
|||
this.heroEnergy = new EnergyPool();
|
||||
this.monsterEnergy = new EnergyPool();
|
||||
this.playArea = new PlayArea();
|
||||
this.insightLevel = new InsightLevel(STARTING_INSIGHT);
|
||||
|
||||
}
|
||||
|
||||
public void SetDecks(BattleDeck<HeroCard> heroDeck, BattleDeck<MonsterCard> monsterDeck) {
|
||||
|
|
@ -60,4 +65,5 @@ public class BattleState
|
|||
public BattleDeck<HeroCard> HeroDeck {get => this.heroDeck;}
|
||||
public BattleDeck<MonsterCard> MonsterDeck {get => this.monsterDeck;}
|
||||
public PlayArea PlayArea {get => this.playArea;}
|
||||
public InsightLevel InsightLevel {get => this.insightLevel;}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue