public void GiveTeamOnePoint(ITeam team) { if (MatchNodeRule.CanGameRun(this)) { foreach (var battleData in MatchNodeBattleResult) { if (battleData.GetTeam().Equals(team)) { battleData.IncrementScore(); break; } } } }
public void GiveTeamOnePoint(ITeam team) { if (MatchNodeRule.CanGameRun(this)) { foreach (var battleData in MatchNodeBattleResult) { if (battleData.GetTeam().Equals(team)) { battleData.IncrementScore(); break; } } } }