public class VehicleMoveEvent extends VehicleEvent
Event.Result
vehicle
Constructor and Description |
---|
VehicleMoveEvent(@NotNull Vehicle vehicle,
@NotNull Location from,
@NotNull Location to) |
Modifier and Type | Method and Description |
---|---|
@NotNull Location |
getFrom()
Get the previous position.
|
static @NotNull HandlerList |
getHandlerList() |
@NotNull HandlerList |
getHandlers() |
@NotNull Location |
getTo()
Get the next position.
|
getVehicle
callEvent, getEventName, isAsynchronous
@NotNull public @NotNull Location getFrom()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers
in class Event
@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2021. All rights reserved.