public void DoAct(IUnitActor act) { int actPoint = act.ActPoint; if (_remainActPoint >= actPoint) { _remainActPoint -= actPoint; } }
public bool IsActable(eCombatTeam team, IUnitActor act) { if (_currentTeam == team) { int actPoint = act.ActPoint; if (_remainActPoint >= actPoint) { return(true); } } return(false); }