Exemplo n.º 1
0
 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();
 }
Exemplo n.º 2
0
 public Team(TeamInMatchInformation inMatchInfo)
 {
     Id                 = inMatchInfo.TeamId;
     Players            = new List <Player>();
     InMatchInformation = inMatchInfo;
 }