Interface ILocationObject

All Known Subinterfaces:
IChargingstation, ICleaner, IPheromone, IWaste, IWastebin
All Known Implementing Classes:
Chargingstation, Cleaner, LocationObject, Pheromone, Waste, Wastebin

public interface ILocationObject
Base interface for all environment opbjects.
  • Method Summary

    Modifier and Type
    Method
    Description
    Get the id (or name) of this object.
    Get the location of this object.
  • Method Details

    • getId

      String getId()
      Get the id (or name) of this object.
      Returns:
      The id.
    • getLocation

      ILocation getLocation()
      Get the location of this object.
      Returns:
      The location of the object.