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 IComponentIdentifier
getAgentIdentifier()
Get the identifier (address) of the cleanerIWaste
getCarriedWaste()
Get the carried-waste of this Cleaner.double
getChargestate()
Get the chargestate of this Cleaner.java.lang.String
getId()
Get the id (or name) of this object.ILocation
getLocation()
Get the location of this object.double
getVisionRange()
Get the vision-range of this Cleaner.
-
-
-
Method Detail
-
getId
java.lang.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.
-
getAgentIdentifier
IComponentIdentifier getAgentIdentifier()
Get the identifier (address) of the cleaner- Returns:
- The identifier that can be used to send a message to the cleaner.
-
-