Class CleanerAgent.DropWasteAction

  • Enclosing class:
    CleanerAgent

    public class CleanerAgent.DropWasteAction
    extends java.lang.Object
    • Field Detail

      • waste

        protected Waste waste
    • Constructor Detail

      • DropWasteAction

        public DropWasteAction​(Waste waste,
                               Wastebin wastebin)
    • Method Detail

      • getWaste

        public Waste getWaste()
        Get the waste.
        Returns:
        The waste.
      • getWastebin

        public Wastebin getWastebin()
        Get the wastebin.
        Returns:
        The wastebin.