org.bukkit.event.vehicle
Class VehicleEvent

java.lang.Object
  extended by org.bukkit.event.Event
      extended by org.bukkit.event.vehicle.VehicleEvent
Direct Known Subclasses:
VehicleCollisionEvent, VehicleCreateEvent, VehicleDamageEvent, VehicleDestroyEvent, VehicleEnterEvent, VehicleExitEvent, VehicleMoveEvent, VehicleUpdateEvent

public abstract class VehicleEvent
extends Event

Represents a vehicle-related event.


Nested Class Summary
 
Nested classes/interfaces inherited from class org.bukkit.event.Event
Event.Result
 
Field Summary
protected  Vehicle vehicle
           
 
Constructor Summary
VehicleEvent(Vehicle vehicle)
           
 
Method Summary
 Vehicle getVehicle()
          Get the vehicle.
 
Methods inherited from class org.bukkit.event.Event
getEventName, getHandlers, isAsynchronous
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

vehicle

protected Vehicle vehicle
Constructor Detail

VehicleEvent

public VehicleEvent(Vehicle vehicle)
Method Detail

getVehicle

public final Vehicle getVehicle()
Get the vehicle.

Returns:
the vehicle


Copyright © 2013. All Rights Reserved.