public Player(PlayerNumberEnum number, bool ai, int startX, int startY) { this.number = number; this.AI = ai; id = (int)number; Agent firstAgent = new Agent(startX, startY, this); firstAgent.type = Agent.Type.Vilager; agents.Add(firstAgent.id, firstAgent); startXB = startX + 2; startYB = startY + 2; }
public AI(GameDefinition _def, PlayerNumberEnum _pn) { def = _def; player_number = _pn; }