public FightTeamInformations[] GetFightTeamInformations() { return(new FightTeamInformations[2] { RedTeam.GetFightTeamInformations(), BlueTeam.GetFightTeamInformations() }); }
public override FightCommonInformations GetFightCommonInformations() { List <FightTeamInformations> teams = new List <FightTeamInformations>(); teams.Add(BlueTeam.GetFightTeamInformations()); teams.Add(RedTeam.GetFightTeamInformations()); List <ushort> positions = new List <ushort>(); positions.Add((ushort)FightCellId); positions.Add((ushort)Map.CloseCell(FightCellId)); return(new FightCommonInformations(Id, (sbyte)FightType, teams, positions, new List <FightOptionsInformations>() { BlueTeam.TeamOptions, RedTeam.TeamOptions })); }