|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use AIUnit | |
---|---|
net.sf.freecol.server.ai | The main package of the ai package tree. |
net.sf.freecol.server.ai.goal | |
net.sf.freecol.server.ai.mission | Contains the missions an AIUnit can be assigned to. |
Uses of AIUnit in net.sf.freecol.server.ai |
---|
Methods in net.sf.freecol.server.ai that return AIUnit | |
---|---|
AIUnit |
TileImprovementPlan.getPioneer()
Gets the pioneer who have been assigned to making the improvement described by this object. |
AIUnit |
Transportable.getTransport()
Gets the carrier responsible for transporting this Transportable . |
AIUnit |
AIUnit.getTransport()
Gets the carrier responsible for transporting this Transportable . |
AIUnit |
AIGoods.getTransport()
Gets the carrier responsible for transporting this Transportable . |
AIUnit |
EuropeanAIPlayer.recruitAIUnitInEurope(int slot)
Deprecated. Ask the server to recruit a unit in Europe on behalf of the AIPlayer |
AIUnit |
AIPlayer.recruitAIUnitInEurope(int slot)
Helper function for server communication - Ask the server to recruit a unit in Europe on behalf of the AIPlayer. |
AIUnit |
EuropeanAIPlayer.trainAIUnitInEurope(UnitType unitType)
Deprecated. Ask the server to train a unit in Europe on behalf of the AIPlayer |
AIUnit |
AIPlayer.trainAIUnitInEurope(UnitType unitType)
Helper function for server communication - Ask the server to train a unit in Europe on behalf of the AIPlayer. |
Methods in net.sf.freecol.server.ai that return types with arguments of type AIUnit | |
---|---|
java.util.Iterator<AIUnit> |
NewAIPlayer.getAIUnitIterator()
Deprecated. Returns an iterator over all the AIUnit s owned by this
player. |
Methods in net.sf.freecol.server.ai with parameters of type AIUnit | |
---|---|
void |
TileImprovementPlan.setPioneer(AIUnit pioneer)
Sets the pioneer who have been assigned to making the improvement described by this object. |
void |
Transportable.setTransport(AIUnit transport)
Sets the carrier responsible for transporting this Transportable . |
void |
AIUnit.setTransport(AIUnit transport)
Sets the carrier responsible for transporting this Transportable . |
void |
AIGoods.setTransport(AIUnit transport)
Sets the carrier responsible for transporting this Transportable . |
Uses of AIUnit in net.sf.freecol.server.ai.goal |
---|
Methods in net.sf.freecol.server.ai.goal that return AIUnit | |
---|---|
AIUnit |
Goal.yieldUnit(UnitType ut,
AIObject o)
Removes a unit from the goal, potentially from a subgoal, and yields it to the caller. |
Methods in net.sf.freecol.server.ai.goal that return types with arguments of type AIUnit | |
---|---|
java.util.List<AIUnit> |
Goal.cancelGoal()
Cancels a goal and all of its subgoals. |
Methods in net.sf.freecol.server.ai.goal with parameters of type AIUnit | |
---|---|
void |
Goal.addUnit(AIUnit u)
Adds a unit to this goal. |
Constructors in net.sf.freecol.server.ai.goal with parameters of type AIUnit | |
---|---|
CreateMissionAtSettlementGoal(AIPlayer p,
Goal g,
float w,
AIUnit u,
IndianSettlement i)
|
|
Goal(AIPlayer p,
Goal g,
float w,
AIUnit u)
Alternate constructor - directly add a unit to this Goal. |
|
GotoAdjacentGoal(AIPlayer p,
Goal g,
float w,
AIUnit u,
Tile t)
|
Uses of AIUnit in net.sf.freecol.server.ai.mission |
---|
Methods in net.sf.freecol.server.ai.mission that return AIUnit | |
---|---|
AIUnit |
Mission.getAIUnit()
Gets the AI-unit this mission has been created for. |
Methods in net.sf.freecol.server.ai.mission that return types with arguments of type AIUnit | |
---|---|
static java.util.List<AIUnit> |
PioneeringMission.getPlayerPioneers(AIPlayer aiPlayer)
|
Methods in net.sf.freecol.server.ai.mission with parameters of type AIUnit | |
---|---|
static Colony |
PioneeringMission.findColonyWithTools(AIUnit aiu)
|
static boolean |
TransportMission.isValid(AIUnit aiUnit)
Checks if this mission is valid for the given unit. |
static boolean |
ScoutingMission.isValid(AIUnit au)
Checks if this mission is valid to perform. |
static boolean |
PrivateerMission.isValid(AIUnit aiUnit)
Checks if this mission is valid for the given unit. |
static boolean |
PioneeringMission.isValid(AIUnit aiUnit)
Checks if this mission is valid for the given unit. |
Constructors in net.sf.freecol.server.ai.mission with parameters of type AIUnit | |
---|---|
BuildColonyMission(AIMain aiMain,
AIUnit aiUnit)
Creates a BuildColonyMission for the given
AIUnit . |
|
BuildColonyMission(AIMain aiMain,
AIUnit aiUnit,
Tile target,
int colonyValue)
Creates a mission for the given AIUnit . |
|
CashInTreasureTrainMission(AIMain aiMain,
AIUnit aiUnit)
Creates a mission for the given AIUnit . |
|
DefendSettlementMission(AIMain aiMain,
AIUnit aiUnit,
Settlement settlement)
Creates a mission for the given AIUnit . |
|
IdleAtColonyMission(AIMain aiMain,
AIUnit aiUnit)
Creates a mission for the given AIUnit . |
|
IndianBringGiftMission(AIMain aiMain,
AIUnit aiUnit,
Colony target)
Creates a mission for the given AIUnit . |
|
IndianDemandMission(AIMain aiMain,
AIUnit aiUnit,
Colony target)
Creates a mission for the given AIUnit . |
|
Mission(AIMain aiMain,
AIUnit aiUnit)
Creates a mission for the given AIUnit . |
|
PioneeringMission(AIMain aiMain,
AIUnit aiUnit)
Creates a mission for the given AIUnit . |
|
PrivateerMission(AIMain aiMain,
AIUnit aiUnit)
Creates a mission for the given AIUnit . |
|
ScoutingMission(AIMain aiMain,
AIUnit aiUnit)
Creates a mission for the given AIUnit . |
|
TransportMission(AIMain aiMain,
AIUnit aiUnit)
Creates a mission for the given AIUnit . |
|
UnitSeekAndDestroyMission(AIMain aiMain,
AIUnit aiUnit,
Location target)
Creates a mission for the given AIUnit . |
|
UnitWanderHostileMission(AIMain aiMain,
AIUnit aiUnit)
Creates a mission for the given AIUnit . |
|
UnitWanderMission(AIMain aiMain,
AIUnit aiUnit)
Creates a mission for the given AIUnit . |
|
WishRealizationMission(AIMain aiMain,
AIUnit aiUnit,
Wish wish)
Creates a mission for the given AIUnit . |
|
WorkInsideColonyMission(AIMain aiMain,
AIUnit aiUnit,
AIColony aiColony)
Creates a mission for the given AIUnit . |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |