Class VehicleMoveEvent


public class VehicleMoveEvent extends VehicleEvent
Raised when a vehicle moves.
  • Constructor Details

  • Method Details

    • getFrom

      public Location getFrom()
      Get the previous position.
      Returns:
      Old position.
    • getTo

      public Location getTo()
      Get the next position.
      Returns:
      New position.
    • getHandlers

      public HandlerList getHandlers()
      Specified by:
      getHandlers in class Event
    • getHandlerList

      public static HandlerList getHandlerList()