public class CleanerBDI.AchieveDropWaste
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
protected Wastebin |
wastebin
The wastebin.
|
Constructor and Description |
---|
AchieveDropWaste(Wastebin wastebin)
Create a new goal.
|
Modifier and Type | Method and Description |
---|---|
boolean |
checkContext()
Drop the goal when the wastebin is full.
|
Wastebin |
getWastebin()
Get the wastebin.
|
protected Wastebin wastebin
public AchieveDropWaste(Wastebin wastebin)
wastebin
- The wastebin.public boolean checkContext()
public Wastebin getWastebin()