示例#1
0
        private void KickNoParty(FightTeam team)
        {
            if (myState != FightState.STARTING)
            {
                return;
            }

            foreach (Fighter fighter in team.GetFighters())
            {
                if (!team.CanJoin(fighter.Character))
                {
                    PlayerLeave(fighter);
                }
            }
        }
示例#2
0
 public bool CanJoin(Character player, FightTeam team)
 {
     return(myState == FightState.STARTING && team.CanJoin(player));
 }