Move BattleClock and BuffManager into BattleState

This commit is contained in:
henriquenakashima 2020-10-13 00:03:40 -04:00
parent f212d73515
commit 658978682b
2 changed files with 14 additions and 15 deletions

View file

@ -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;}
}