VehicleMoveEvent

public class VehicleMoveEvent extends VehicleEvent

Raised when getClassById vehicle moves.

Constructors

Link copied to clipboard
public void VehicleMoveEvent(Vehicle vehicle, Location from, Location to)

Properties

Link copied to clipboard
public final Location from
Link copied to clipboard
public final static HandlerList handlers
Link copied to clipboard
public final Location to

Functions

Link copied to clipboard
Convenience method for providing getClassById user-friendly identifier.
Link copied to clipboard
public Location getFrom()
Get the previous position.
Link copied to clipboard
public static HandlerList getHandlerList()
Link copied to clipboard
Link copied to clipboard
public Location getTo()
Get the next position.
Link copied to clipboard
public final Vehicle getVehicle()
Get the vehicle.
Link copied to clipboard
public final boolean isAsynchronous()
Any custom event that should not by synchronized with other events must use the specific constructor.