Interface HasVehicle
- All Known Subinterfaces:
CanEditLicensePlate
- All Known Implementing Classes:
HornUseEvent
,TankShootEvent
,VehicleAddMemberEvent
,VehicleAddRiderEvent
,VehicleDamageEvent
,VehicleEnterEvent
,VehicleFuelEvent
,VehicleLeaveEvent
,VehicleOpenTrunkEvent
,VehiclePickUpEvent
,VehiclePlaceEvent
,VehicleRegionEnterEvent
,VehicleRegionLeaveEvent
,VehicleRemoveMemberEvent
,VehicleRemoveRiderEvent
public interface HasVehicle
Interface for all events with vehicles
-
Method Summary
Modifier and TypeMethodDescriptionGet license plate of the vehicle used in the eventdefault Vehicle
Get vehicle used in the event
-
Method Details
-
getLicensePlate
String getLicensePlate()Get license plate of the vehicle used in the event- Returns:
- Vehicle's license plate
-
getVehicle
Get vehicle used in the event- Returns:
- Vehicle
-