コード例 #1
0
ファイル: Player.cs プロジェクト: gamaSantos/AndorinhaEsporte
 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();
 }
コード例 #2
0
 public Team(TeamInMatchInformation inMatchInfo)
 {
     Id                 = inMatchInfo.TeamId;
     Players            = new List <Player>();
     InMatchInformation = inMatchInfo;
 }