Exemplo n.º 1
0
        public Player(int number, player_role role, Team team) : base(BaseGameEntity.GetNextValidID())
        {
            //varibale initialization
            position = new Position();

            this.team = team;

            playerNumber = number;
            //player number is the id of the player
            id = playerNumber;

            this.role = role;
        }
Exemplo n.º 2
0
 public Player() : base(BaseGameEntity.GetNextValidID())
 {
 }