Bukkit
1.4.7-R1.0
Main Page
Related Pages
Classes
Files
File List
All
Classes
Namespaces
Files
Functions
Variables
Enumerator
Pages
VehicleMoveEvent.java
Go to the documentation of this file.
1
package
org.bukkit.event.vehicle;
2
3
import
org.bukkit.Location;
4
import
org.bukkit.entity.Vehicle;
5
import
org.bukkit.event.HandlerList;
6
10
public
class
VehicleMoveEvent
extends
VehicleEvent
{
11
private
static
final
HandlerList
handlers =
new
HandlerList
();
12
private
final
Location
from;
13
private
final
Location
to;
14
15
public
VehicleMoveEvent
(
final
Vehicle
vehicle
,
final
Location
from,
final
Location
to) {
16
super(vehicle);
17
18
this.from = from;
19
this.to = to;
20
}
21
27
public
Location
getFrom
() {
28
return
from;
29
}
30
36
public
Location
getTo
() {
37
return
to;
38
}
39
40
41
@Override
42
public
HandlerList
getHandlers
() {
43
return
handlers;
44
}
45
46
public
static
HandlerList
getHandlerList
() {
47
return
handlers;
48
}
49
}
org
bukkit
event
vehicle
VehicleMoveEvent.java
Generated on Sat May 18 2013 12:16:38 for Bukkit by
1.8.2