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; }
public Player() : base(BaseGameEntity.GetNextValidID()) { }