public class VehicleMoveEvent extends VehicleEvent
Event.Result
vehicle
Constructor | Description |
---|---|
VehicleMoveEvent(Vehicle vehicle,
Location from,
Location to) |
Modifier and Type | Method | Description |
---|---|---|
Location |
getFrom() |
Get the previous position.
|
static HandlerList |
getHandlerList() |
|
HandlerList |
getHandlers() |
|
Location |
getTo() |
Get the next position.
|
getEventName, isAsynchronous
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getVehicle
public Location getFrom()
public Location getTo()
public HandlerList getHandlers()
getHandlers
in class Event
public static HandlerList getHandlerList()
Copyright © 2018. All rights reserved.