Move BattleClock and BuffManager into BattleState
This commit is contained in:
parent
f212d73515
commit
658978682b
2 changed files with 14 additions and 15 deletions
|
|
@ -8,10 +8,12 @@ public class BattleState
|
|||
private TeamChoice mTeamsTurn = TeamChoice.Monsters;
|
||||
private bool mPlayedEmotion;
|
||||
private int mRound = 0;
|
||||
private BattleClock clock;
|
||||
private BuffManager buffManager;
|
||||
|
||||
public BattleState(BuffManager buffManager) {
|
||||
this.buffManager = buffManager;
|
||||
public BattleState() {
|
||||
this.clock = new BattleClock();
|
||||
this.buffManager = new BuffManager(this.clock);
|
||||
}
|
||||
|
||||
public bool IsTeamsTurn(TeamChoice team) {
|
||||
|
|
@ -44,5 +46,6 @@ public class BattleState
|
|||
}
|
||||
}
|
||||
|
||||
public BattleClock Clock {get => this.clock;}
|
||||
public BuffManager BuffManager {get => this.buffManager;}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue