public class VehicleMoveEvent extends VehicleEvent
Event.Resultvehicle| 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.
|
getVehiclecallEvent, getEventName, isAsynchronous@NotNull public @NotNull Location getFrom()
@NotNull public @NotNull HandlerList getHandlers()
getHandlers in class Event@NotNull public static @NotNull HandlerList getHandlerList()
Copyright © 2022. All rights reserved.