public class VehicleMoveEvent extends VehicleEvent
Event.Resultvehicle| 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.
|
callEvent, getEventName, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVehicle@NotNull public Location getFrom()
@NotNull public Location getTo()
@NotNull public HandlerList getHandlers()
getHandlers in class Event@NotNull public static HandlerList getHandlerList()
Copyright © 2020. All rights reserved.