Interface ICleaner
- All Superinterfaces:
ILocationObject
- All Known Implementing Classes:
Cleaner
Cleaner object represents knowledge about a cleaner robot.
-
Method Summary
Modifier and TypeMethodDescriptionGet the carried-waste of this Cleaner.double
Get the chargestate of this Cleaner.getId()
Get the id (or name) of this object.Get the location of this object.double
Get the vision-range of this Cleaner.
-
Method Details
-
getId
String getId()Get the id (or name) of this object.- Specified by:
getId
in interfaceILocationObject
- Returns:
- The id.
-
getLocation
ILocation getLocation()Get the location of this object.- Specified by:
getLocation
in interfaceILocationObject
- Returns:
- The location of the object.
-
getChargestate
double getChargestate()Get the chargestate of this Cleaner.- Returns:
- Charge state of the battery (0.0-1.0).
-
getCarriedWaste
IWaste getCarriedWaste()Get the carried-waste of this Cleaner.- Returns:
- The carried waste, if any.
-
getVisionRange
double getVisionRange()Get the vision-range of this Cleaner.- Returns:
- The distance that this cleaner is able to see.
-