public class VehicleMoveEvent extends VehicleEvent
Event.Resultvehicle| 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, isAsynchronousclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetVehicle@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.