Class MovementCapability.Missionend
- java.lang.Object
-
- jadex.bdiv3.examples.marsworld.movement.MovementCapability.Missionend
-
- All Implemented Interfaces:
IDestinationGoal
- Enclosing class:
- MovementCapability
public static class MovementCapability.Missionend extends java.lang.Object implements IDestinationGoal
The mission end goal. Move to homebase on end.
-
-
Field Summary
Fields Modifier and Type Field Description protected MovementCapabilitycapaThe movement capability.
-
Constructor Summary
Constructors Constructor Description Missionend(MovementCapability capa)Create a new goal.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static booleancheckCreate(MovementCapability capa)Create a new Move.java.lang.ObjectgetDestination()Get the destination.
-
-
-
Field Detail
-
capa
protected MovementCapability capa
The movement capability.
-
-
Constructor Detail
-
Missionend
public Missionend(MovementCapability capa)
Create a new goal.
-
-
Method Detail
-
checkCreate
public static boolean checkCreate(MovementCapability capa)
Create a new Move.
-
getDestination
public java.lang.Object getDestination()
Get the destination.- Specified by:
getDestinationin interfaceIDestinationGoal- Returns:
- The destination.
-
-