Terminator 2

public static void main(String[] args)
{
     Terminator t1000 = new T1000();
     Person johnConnor = new FutureResistanceLeader();
     
     t1000.setMission(new TerminateTargetMission(johnConnor));
     t1000.execute();

     Terminator arnie = new T800();
     arnie.setMission(new ProtectTargetMission(johnConnor));
     arnie.execute();

     TimeTravel travel = new TimeTravel(1991, LA.getLatLng());
     travel.addTraveller(t1000);
     travel.start();

     TimeTravel travel2 = new TimeTravel(1991, LA.getLatLng());
     travel2.addTraveller(arnie);
     travel2.start();

     while(!johnConnor.isTerminated() && !t1000.isTerminated() )
     {
 
     }

     if(!johnConnor.isTerminated())
     {
           if(!arnie.isTerminated())
           {  
        lowerIntoSteel(arnie);
        johnConnor.cry();
       }
   
    setJudgementDay(new Terminator3().getJudgementDay());  
     }
     else
     {
    resistance = null;
     }
}
Vote up this code1
  • http:// Chris Bowyer

    Shouldn’t there be something in that while() loop?