public Player(FieldPosition fieldPosition, TeamInMatchInformation teamInfo) { _id = Guid.NewGuid(); _actions = new List <PlayerAction>(); _teammates = new List <Player>(); _team = teamInfo; FieldPosition = fieldPosition; _opponents = new List <Player>(); ResetStates(); }
public Team(TeamInMatchInformation inMatchInfo) { Id = inMatchInfo.TeamId; Players = new List <Player>(); InMatchInformation = inMatchInfo; }