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