Class FireBrigadeAgent.GoHome
- java.lang.Object
- 
- jadex.bdiv3.examples.disastermanagement.firebrigade.FireBrigadeAgent.GoHome
 
- 
- All Implemented Interfaces:
- IDestinationGoal
 - Enclosing class:
- FireBrigadeAgent
 
 public static class FireBrigadeAgent.GoHome extends java.lang.Object implements IDestinationGoal 
- 
- 
Method SummaryAll Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static FireBrigadeAgent.GoHomecheckCreate(FireBrigadeAgent ag)Create a new Move.booleancheckDrop(FireBrigadeAgent ag)Drop if there is another goal.IVector2getDestination()Get the destination.
 
- 
- 
- 
Field Detail- 
homeprotected IVector2 home The home position.
 
- 
 - 
Constructor Detail- 
GoHomepublic GoHome(IVector2 home) Create a new CarryOre.
 
- 
 - 
Method Detail- 
checkCreatepublic static FireBrigadeAgent.GoHome checkCreate(FireBrigadeAgent ag) Create a new Move.
 - 
checkDroppublic boolean checkDrop(FireBrigadeAgent ag) Drop if there is another goal.
 - 
getDestinationpublic IVector2 getDestination() Get the destination.- Specified by:
- getDestinationin interface- IDestinationGoal
- Returns:
- The destination.
 
 
- 
 
-