Bukkit  1.4.7-R1.0
 All Classes Namespaces Files Functions Variables Enumerator Pages
org.bukkit.event.vehicle.VehicleEvent Class Reference

Represents a vehicle-related event. More...

+ Inheritance diagram for org.bukkit.event.vehicle.VehicleEvent:
+ Collaboration diagram for org.bukkit.event.vehicle.VehicleEvent:

Public Member Functions

 VehicleEvent (final Vehicle vehicle)
 
final Vehicle getVehicle ()
 Get the vehicle.
 
- Public Member Functions inherited from org.bukkit.event.Event
 Event ()
 The default constructor is defined for cleaner code.
 
 Event (boolean isAsync)
 This constructor is used to explicitly declare an event as synchronous or asynchronous.
 
String getEventName ()
 
abstract HandlerList getHandlers ()
 
final boolean isAsynchronous ()
 Any custom event that should not by synchronized with other events must use the specific constructor.
 

Protected Attributes

Vehicle vehicle
 

Detailed Description

Represents a vehicle-related event.

Definition at line 9 of file VehicleEvent.java.

Constructor & Destructor Documentation

org.bukkit.event.vehicle.VehicleEvent.VehicleEvent ( final Vehicle  vehicle)

Definition at line 12 of file VehicleEvent.java.

References org.bukkit.event.vehicle.VehicleEvent.vehicle.

Member Function Documentation

final Vehicle org.bukkit.event.vehicle.VehicleEvent.getVehicle ( )

Get the vehicle.

Returns
the vehicle

Definition at line 21 of file VehicleEvent.java.

References org.bukkit.event.vehicle.VehicleEvent.vehicle.

Member Data Documentation

Vehicle org.bukkit.event.vehicle.VehicleEvent.vehicle
protected

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