public override Decision MakeDecision(Map map) { if (!ClickAppeared) { return null; } ClickAppeared = false; return map.Click(MousePos); }
protected Game() { Map = new Map(); Races = new Dictionary<RaceName, Race>(); Races[RaceName.Human] = new Race(RaceName.Human); Races[RaceName.Swarm] = new Race(RaceName.Swarm); Races[RaceName.Dentelian] = new Race(RaceName.Dentelian); Races[RaceName.Kronolian] = new Race(RaceName.Kronolian); IsResponding = true; ShipCreator.GetCreator(); }
public override Decision MakeDecision(Map map) { return new Decision {DecisionType = DecisionType.Move, ShipIndex = 0}; }
public abstract Decision MakeDecision(Map map);