Class Fuel
java.lang.Object
nl.sbdeveloper.vehiclesplus.api.vehicles.settings.impl.Fuel
- All Implemented Interfaces:
Setting
The Fuel setting.
-
Constructor Summary
Constructors -
Method Summary
-
Constructor Details
-
Fuel
Creates a newFuel
instance.- Parameters:
typeId
- The type of fuel that this vehicle uses.usage
- The fuel usage.
-
Fuel
public Fuel()
-
-
Method Details
-
getType
Get the type of fuel that this vehicle uses.- Returns:
- The type of fuel that this vehicle uses.
-
toString
-
getTypeId
The type of fuel that this vehicle uses. -
getUsage
public double getUsage()The fuel usage. -
setTypeId
The type of fuel that this vehicle uses. -
setUsage
public void setUsage(double usage) The fuel usage.
-