예제 #1
0
 public override Decision MakeDecision(Map map)
 {
     if (!ClickAppeared)
     {
         return null;
     }
     ClickAppeared = false;
     return map.Click(MousePos);
 }
예제 #2
0
파일: Game.cs 프로젝트: CSF-VSU/SpacePewPew
        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();
        }
예제 #3
0
 public override Decision MakeDecision(Map map)
 {
     return new Decision {DecisionType = DecisionType.Move, ShipIndex = 0};
 }
예제 #4
0
 public abstract Decision MakeDecision(Map map);