Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
org.bukkit.event.vehicle.VehicleMoveEvent Class Reference
Inheritance diagram for org.bukkit.event.vehicle.VehicleMoveEvent:
org.bukkit.event.vehicle.VehicleEvent org.bukkit.event.Event

Public Member Functions

 VehicleMoveEvent (final Vehicle vehicle, final Location from, final Location to)
Location getFrom ()
Location getTo ()
HandlerList getHandlers ()
- Public Member Functions inherited from org.bukkit.event.vehicle.VehicleEvent
 VehicleEvent (final Vehicle vehicle)
final Vehicle getVehicle ()
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 Event (boolean isAsync)
String getEventName ()
abstract HandlerList getHandlers ()
final boolean isAsynchronous ()

Static Public Member Functions

static HandlerList getHandlerList ()

Additional Inherited Members

- Protected Attributes inherited from org.bukkit.event.vehicle.VehicleEvent
Vehicle vehicle

Detailed Description

Raised when a vehicle moves.

Definition at line 10 of file VehicleMoveEvent.java.

Member Function Documentation

Location org.bukkit.event.vehicle.VehicleMoveEvent.getFrom ( )

Get the previous position.

Old position.

Definition at line 27 of file VehicleMoveEvent.java.

27  {
28  return from;
29  }
Location org.bukkit.event.vehicle.VehicleMoveEvent.getTo ( )

Get the next position.

New position.

Definition at line 36 of file VehicleMoveEvent.java.

36  {
37  return to;
38  }

The documentation for this class was generated from the following file: