mixedcards/Assets/Battle/BattleState.cs
2020-09-24 23:00:36 -04:00

21 lines
547 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class BattleState
{
// public delegate void BattleStateChangedAction();
// public event BattleStateChangedAction OnBattleStateChanged;
private bool heroTurn;
public bool IsTeamsTurn(TeamChoice team) {
if (team == TeamChoice.Heroes) {
return this.HeroTurn;
} else {
return !this.HeroTurn;
}
}
public bool HeroTurn {get => this.heroTurn; set => this.heroTurn = value;}
}