Interface IEnvironment
- 
- All Known Implementing Classes:
- Environment
 
 public interface IEnvironmentThe possible actions that can be performed in the environment.
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description booleandropWasteInWastebin(Waste waste, Wastebin wastebin)Drop a piece of waste.VisiongetVision(Cleaner cleaner)Get the current vision.booleanpickUpWaste(Waste waste)Try to pick up some piece of waste.
 
- 
- 
- 
Method Detail- 
getVisionVision getVision(Cleaner cleaner) Get the current vision.- Parameters:
- cleaner- The cleaner.
- Returns:
- The current vision.
 
 - 
pickUpWasteboolean pickUpWaste(Waste waste) Try to pick up some piece of waste.- Parameters:
- waste- The waste.
- Returns:
- True if the waste could be picked up.
 
 
- 
 
-