Class TravelToTimedTask

  • All Implemented Interfaces:
    java.lang.Runnable

    public class TravelToTimedTask
    extends TimedTask
    Timed task for delaysed travel to events triggered from the sea map. Created by andi on 26.03.17.
    • Field Detail

      • date

        @Autowired
        private Date date
      • clientEventBus

        @Autowired
        @Qualifier("clientEventBus")
        private com.google.common.eventbus.AsyncEventBus clientEventBus
      • destination

        private javafx.geometry.Point2D destination
      • city

        private java.util.Optional<ICity> city
    • Constructor Detail

      • TravelToTimedTask

        public TravelToTimedTask​(javafx.geometry.Point2D destination,
                                 INavigableVessel vessel,
                                 java.util.Optional<ICity> city)
    • Method Detail

      • init

        @PostConstruct
        private void init()
      • run

        public void run()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object