Interface ICleaner
-
- All Superinterfaces:
ILocationObject
public interface ICleaner extends ILocationObject
Cleaner object represents knowledge about a cleaner robot.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description IComponentIdentifiergetAgentIdentifier()Get the identifier (address) of the cleanerIWastegetCarriedWaste()Get the carried-waste of this Cleaner.doublegetChargestate()Get the chargestate of this Cleaner.java.lang.StringgetId()Get the id (or name) of this object.ILocationgetLocation()Get the location of this object.doublegetVisionRange()Get the vision-range of this Cleaner.
-
-
-
Method Detail
-
getId
java.lang.String getId()
Get the id (or name) of this object.- Specified by:
getIdin interfaceILocationObject- Returns:
- The id.
-
getLocation
ILocation getLocation()
Get the location of this object.- Specified by:
getLocationin 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.
-
getAgentIdentifier
IComponentIdentifier getAgentIdentifier()
Get the identifier (address) of the cleaner- Returns:
- The identifier that can be used to send a message to the cleaner.
-
-