private void KickNoParty(FightTeam team) { if (myState != FightState.STARTING) { return; } foreach (Fighter fighter in team.GetFighters()) { if (!team.CanJoin(fighter.Character)) { PlayerLeave(fighter); } } }
public Fighter GetFighter(int ID) { return(myTeam1.GetFighters().Concat(myTeam2.GetFighters()).First(x => x.ID == ID)); }