Interface ICleaner

All Superinterfaces:
ILocationObject
All Known Implementing Classes:
Cleaner

public interface ICleaner extends ILocationObject
Cleaner object represents knowledge about a cleaner robot.
  • Method Details

    • getId

      String getId()
      Get the id (or name) of this object.
      Specified by:
      getId in interface ILocationObject
      Returns:
      The id.
    • getLocation

      ILocation getLocation()
      Get the location of this object.
      Specified by:
      getLocation in interface ILocationObject
      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.