Class UniversityAgent.TrainPlan

  • Enclosing class:
    UniversityAgent

    protected class UniversityAgent.TrainPlan
    extends java.lang.Object
    The train plan for the come to university goal. Only take train when its raining (too expensive)
    • Constructor Summary

      Constructors 
      Modifier Constructor Description
      protected TrainPlan()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected boolean checkWeather()  
      protected void takeTrain​(IPlan plan)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TrainPlan

        protected TrainPlan()
    • Method Detail

      • checkWeather

        protected boolean checkWeather()
      • takeTrain

        protected void takeTrain​(IPlan plan)