public static class AmbulanceBDI.GoHome extends java.lang.Object implements IDestinationGoal
Modifier and Type | Field and Description |
---|---|
protected jadex.extension.envsupport.math.IVector2 |
home
The home position.
|
Constructor and Description |
---|
GoHome(jadex.extension.envsupport.math.IVector2 home)
Create a new CarryOre.
|
Modifier and Type | Method and Description |
---|---|
static AmbulanceBDI.GoHome |
checkCreate(AmbulanceBDI ag)
Create a new Move.
|
boolean |
checkDrop(AmbulanceBDI ag)
Drop if there is another goal.
|
jadex.extension.envsupport.math.IVector2 |
getDestination()
Get the destination.
|
public GoHome(jadex.extension.envsupport.math.IVector2 home)
public static AmbulanceBDI.GoHome checkCreate(AmbulanceBDI ag)
public boolean checkDrop(AmbulanceBDI ag)
public jadex.extension.envsupport.math.IVector2 getDestination()
getDestination
in interface IDestinationGoal