Interface ICleaner

    • Method Detail

      • getId

        java.lang.String getId()
        Get the id (or name) of this object.
        Specified by:
        getId in interface ILocationObject
        Returns:
        The id.
      • 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.