public void Visit(ColonizationMission mission)
 {
     if (game.States.ColonizationProjects.Of[mission.Target].Any(x => x.Owner == owner))
     {
         this.remainingMissions.AddLast(mission);
     }
 }
Beispiel #2
0
        void IMissionVisitor.Visit(ColonizationMission mission)
        {
            if (this.newPosition == mission.Target.Star.Position)
            {
                unfinishedMissions.AddLast(mission);
            }

            this.movementSteps.Add(new FleetMovement(
                                       this.fleet,
                                       localFleet(),
                                       this.time,
                                       1,
                                       new Vector2D()
                                       ));
            this.time = 1;
        }
Beispiel #3
0
 public void Visit(ColonizationMission mission)
 {
     //No operation
 }
 void IMissionVisitor.Visit(ColonizationMission mission)
 {
     this.isMatch |= mission.Target == this.destination;
 }