public class CleanerBDI.AchieveMoveTo
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
protected Location |
location
The location.
|
| Constructor and Description |
|---|
AchieveMoveTo(Location location)
Create a new goal.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
checkTarget()
The goal is achieved when the position
of the cleaner is near to the target position.
|
Location |
getLocation()
Get the location.
|
protected Location location
public AchieveMoveTo(Location location)
location - The location.public boolean checkTarget()
public Location getLocation()