Class CleanerAgent.AchievePickupWaste

  • Enclosing class:
    CleanerAgent

    public class CleanerAgent.AchievePickupWaste
    extends java.lang.Object
    Goal for picking up a piece of waste.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      protected Waste waste
      The waste.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Waste getWaste()
      Get the piece of waste.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • waste

        protected Waste waste
        The waste.
    • Constructor Detail

      • AchievePickupWaste

        public AchievePickupWaste​(Waste waste)
        Create a new goal.
    • Method Detail

      • getWaste

        public Waste getWaste()
        Get the piece of waste.
        Returns:
        The piece of waste.