Package | Description |
---|---|
com.jme3.ai.agents | |
com.jme3.ai.agents.behaviors | |
com.jme3.ai.agents.behaviors.npc | |
com.jme3.ai.agents.behaviors.npc.steering |
Steer behaviors.
|
Modifier and Type | Method and Description |
---|---|
float |
Agent.computeNearestApproachPositions(Agent agent,
float time)
Given the time until nearest approach (predictNearestApproachTime)
determine position of each vehicle at that time, and the distance between
them.
|
boolean |
Agent.isSameTeam(Agent agent)
Check if this agent is in same team as another agent.
|
Constructor and Description |
---|
AgentExceptions.AgentAttributeNotFound(Agent agent,
java.lang.String message) |
AgentExceptions.InventoryNotFoundException(Agent agent) |
AgentExceptions.TeamNotFoundException(Agent agent) |
AgentExceptions.WeaponNotFoundException(Agent agent) |
Modifier and Type | Field and Description |
---|---|
protected Agent |
Behavior.agent
Agent to whom behavior belongs.
|
Constructor and Description |
---|
Behavior(Agent agent)
Constructor for behavior that doesn't have any special spatial during
execution.
|
Behavior(Agent agent,
com.jme3.scene.Spatial spatial)
Constructor for behavior that has spatial during execution.
|
BehaviorExceptions.BehaviorException(Agent agent,
java.lang.String message,
float value) |
Constructor and Description |
---|
SimpleMainBehavior(Agent agent)
This behavior never have spatial.
|
Modifier and Type | Method and Description |
---|---|
Agent |
FleeBehavior.getTarget()
Get agent from whom we flee.
|
Agent |
SeekBehavior.getTarget()
Get agent from we seek.
|
Modifier and Type | Method and Description |
---|---|
void |
FleeBehavior.setTarget(Agent target)
Setting agent from whom we flee.
|
void |
SeekBehavior.setTarget(Agent target)
Setting agent from we seek.
|
Modifier and Type | Method and Description |
---|---|
protected java.util.List<GameEntity> |
AbstractSteeringBehavior.convertToGameEntities(java.util.List<Agent> agents)
Convenience method for converting list of agents to list of entities.
|
void |
QueuingBehavior.setNeighbours(java.util.List<Agent> neighbours) |
Constructor and Description |
---|
AbstractSteeringBehavior(Agent agent) |
AbstractSteeringBehavior(Agent agent,
com.jme3.scene.Spatial spatial) |
AbstractStrengthSteeringBehavior(Agent agent) |
AbstractStrengthSteeringBehavior(Agent agent,
com.jme3.scene.Spatial spatial) |
AbstractWanderBehavior(Agent agent) |
AbstractWanderBehavior(Agent agent,
com.jme3.scene.Spatial spatial) |
AlignmentBehavior(Agent agent)
maxAngle is setted to PI / 2 by default and maxDistance to infinite.
|
AlignmentBehavior(Agent agent,
float maxDistance,
float maxAngle)
Neighbours of agent will be his team members.
|
AlignmentBehavior(Agent agent,
float maxDistance,
float maxAngle,
com.jme3.scene.Spatial spatial)
Neighbours of agent will be his team members.
|
AlignmentBehavior(Agent agent,
java.util.List<GameEntity> neighbours)
maxAngle is setted to PI / 2 by default and maxDistance to infinite.
|
AlignmentBehavior(Agent agent,
java.util.List<GameEntity> neighbours,
float maxDistance,
float maxAngle) |
AlignmentBehavior(Agent agent,
java.util.List<GameEntity> neighbours,
float maxDistance,
float maxAngle,
com.jme3.scene.Spatial spatial) |
AlignmentBehavior(Agent agent,
java.util.List<GameEntity> neighbours,
com.jme3.scene.Spatial spatial) |
ArriveBehavior(Agent agent,
Agent target)
The slowingDistance is (0.1 * distance betwen agents) by default.
|
ArriveBehavior(Agent agent,
Agent target)
The slowingDistance is (0.1 * distance betwen agents) by default.
|
ArriveBehavior(Agent agent,
Agent target,
float slowingDistance) |
ArriveBehavior(Agent agent,
Agent target,
float slowingDistance) |
ArriveBehavior(Agent agent,
Agent target,
float slowingDistance,
com.jme3.scene.Spatial spatial) |
ArriveBehavior(Agent agent,
Agent target,
float slowingDistance,
com.jme3.scene.Spatial spatial) |
ArriveBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial)
The slowingDistance is (0.1 * distance betwen agents) by default.
|
ArriveBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial)
The slowingDistance is (0.1 * distance betwen agents) by default.
|
ArriveBehavior(Agent agent,
com.jme3.math.Vector3f seekingPosition)
The slowingDistance is (0.1 * distance betwen agents) by default.
|
ArriveBehavior(Agent agent,
com.jme3.math.Vector3f seekingPosition,
float slowingDistance) |
ArriveBehavior(Agent agent,
com.jme3.math.Vector3f seekingPosition,
float slowingDistance,
com.jme3.scene.Spatial spatial) |
ArriveBehavior(Agent agent,
com.jme3.math.Vector3f seekingPosition,
com.jme3.scene.Spatial spatial)
The slowingDistance is (0.1 * distance betwen agents) by default.
|
BalancedCompoundSteeringBehavior(Agent agent) |
BalancedCompoundSteeringBehavior(Agent agent,
com.jme3.scene.Spatial spatial) |
BoxExploreBehavior(Agent agent,
com.jme3.math.Vector3f boxCenter,
float boxWidthX,
float boxWidthZ,
float boxHeight,
float subdivisionDistance) |
BoxExploreBehavior(Agent agent,
com.jme3.math.Vector3f boxCenter,
float boxWidthX,
float boxWidthZ,
float boxHeight,
float subdivisionDistance,
com.jme3.scene.Spatial spatial) |
CohesionBehavior(Agent agent)
maxAngle is setted to PI / 2 by default and maxDistance to infinite.
|
CohesionBehavior(Agent agent,
float maxDistance,
float maxAngle) |
CohesionBehavior(Agent agent,
float maxDistance,
float maxAngle,
com.jme3.scene.Spatial spatial) |
CohesionBehavior(Agent agent,
java.util.List<GameEntity> neighbours)
maxAngle is setted to PI / 2 by default and maxDistance to infinite.
|
CohesionBehavior(Agent agent,
java.util.List<GameEntity> neighbours,
float maxDistance,
float maxAngle) |
CohesionBehavior(Agent agent,
java.util.List<GameEntity> neighbours,
float maxDistance,
float maxAngle,
com.jme3.scene.Spatial spatial) |
CohesionBehavior(Agent agent,
java.util.List<GameEntity> neighbours,
com.jme3.scene.Spatial spatial) |
CohesionBehavior(Agent agent,
com.jme3.scene.Spatial spatial) |
CompoundSteeringBehavior(Agent agent) |
CompoundSteeringBehavior(Agent agent,
com.jme3.scene.Spatial spatial) |
ContainmentBehavior(Agent agent,
com.jme3.scene.Node containmentArea) |
ContainmentBehavior(Agent agent,
com.jme3.scene.Node containmentArea,
com.jme3.scene.Spatial spatial) |
EvadeBehavior(Agent agent,
Agent target) |
EvadeBehavior(Agent agent,
Agent target) |
EvadeBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial) |
EvadeBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial) |
FleeBehavior(Agent agent,
Agent target)
Constructor for flee behavior.
|
FleeBehavior(Agent agent,
Agent target)
Constructor for flee behavior.
|
FleeBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial)
Constructor for flee behavior.
|
FleeBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial)
Constructor for flee behavior.
|
FleeBehavior(Agent agent,
com.jme3.math.Vector3f fleePosition)
Constructor for flee behavior.
|
FleeBehavior(Agent agent,
com.jme3.math.Vector3f fleePosition,
com.jme3.scene.Spatial spatial)
Constructor for flee behavior.
|
HideBehavior(Agent agent,
Agent target,
java.util.List<GameEntity> obstacles,
float separationFromObstacle) |
HideBehavior(Agent agent,
Agent target,
java.util.List<GameEntity> obstacles,
float separationFromObstacle) |
HideBehavior(Agent agent,
Agent target,
java.util.List<GameEntity> obstacles,
float separationFromObstacle,
com.jme3.scene.Spatial spatial) |
HideBehavior(Agent agent,
Agent target,
java.util.List<GameEntity> obstacles,
float separationFromObstacle,
com.jme3.scene.Spatial spatial) |
LeaderFollowingBehavior(Agent agent,
Agent target) |
LeaderFollowingBehavior(Agent agent,
Agent target) |
LeaderFollowingBehavior(Agent agent,
Agent target,
float distanceToEvade,
float distanceToChangeFocus,
float minimunAngle) |
LeaderFollowingBehavior(Agent agent,
Agent target,
float distanceToEvade,
float distanceToChangeFocus,
float minimunAngle) |
LeaderFollowingBehavior(Agent agent,
Agent target,
float distanceToEvade,
float distanceToChangeFocus,
float minimunAngle,
com.jme3.scene.Spatial spatial) |
LeaderFollowingBehavior(Agent agent,
Agent target,
float distanceToEvade,
float distanceToChangeFocus,
float minimunAngle,
com.jme3.scene.Spatial spatial) |
LeaderFollowingBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial) |
LeaderFollowingBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial) |
MoveBehavior(Agent agent) |
MoveBehavior(Agent agent,
com.jme3.scene.Spatial spatial) |
ObstacleAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision) |
ObstacleAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision,
float minDistance) |
ObstacleAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision,
float minDistance,
com.jme3.scene.Spatial spatial) |
ObstacleAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision,
com.jme3.scene.Spatial spatial) |
PathFollowBehavior(Agent agent,
java.util.ArrayList<com.jme3.math.Vector3f> orderedPointsList,
float pathRadius) |
PathFollowBehavior(Agent agent,
java.util.ArrayList<com.jme3.math.Vector3f> orderedPointsList,
float pathRadius,
float cohesionStrength) |
PathFollowBehavior(Agent agent,
java.util.ArrayList<com.jme3.math.Vector3f> orderedPointsList,
float pathRadius,
float cohesionStrength,
com.jme3.scene.Spatial spatial) |
PathFollowBehavior(Agent agent,
java.util.ArrayList<com.jme3.math.Vector3f> orderedPointsList,
float pathRadius,
com.jme3.scene.Spatial spatial) |
PursuitBehavior(Agent agent,
Agent target) |
PursuitBehavior(Agent agent,
Agent target) |
PursuitBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial) |
PursuitBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial) |
QueuingBehavior(Agent agent,
java.util.List<Agent> neighbours,
float minDistance) |
QueuingBehavior(Agent agent,
java.util.List<Agent> neighbours,
float minDistance,
com.jme3.scene.Spatial spatial) |
RelativeWanderBehavior(Agent agent,
float rX,
float rY,
float rZ,
float relativeFactor) |
RelativeWanderBehavior(Agent agent,
float rX,
float rY,
float rZ,
float relativeFactor,
com.jme3.scene.Spatial spatial) |
SeekBehavior(Agent agent) |
SeekBehavior(Agent agent,
Agent target)
Constructor for seek behaviour.
|
SeekBehavior(Agent agent,
Agent target)
Constructor for seek behaviour.
|
SeekBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial)
Constructor for seek behavior.
|
SeekBehavior(Agent agent,
Agent target,
com.jme3.scene.Spatial spatial)
Constructor for seek behavior.
|
SeekBehavior(Agent agent,
com.jme3.math.Vector3f seekingPosition)
Constructor for seek behavior.
|
SeekBehavior(Agent agent,
com.jme3.math.Vector3f seekingPosition,
com.jme3.scene.Spatial spatial)
Constructor for seek behavior.
|
SeparationBehavior(Agent agent,
java.util.List<GameEntity> initialObstacles) |
SeparationBehavior(Agent agent,
java.util.List<GameEntity> initialObstacles,
float minDistance) |
SeparationBehavior(Agent agent,
java.util.List<GameEntity> initialObstacles,
float minDistance,
com.jme3.scene.Spatial spatial) |
SeparationBehavior(Agent agent,
java.util.List<GameEntity> initialObstacles,
com.jme3.scene.Spatial spatial) |
SimpleWanderBehavior(Agent agent,
float rX,
float rY,
float rZ) |
SimpleWanderBehavior(Agent agent,
float rX,
float rY,
float rZ,
com.jme3.scene.Spatial spatial) |
SlowBehavior(Agent agent,
int timeInterval,
float slowPercentage)
Slows a steer behavior resultant velocity.
|
SlowBehavior(Agent agent,
int timeInterval,
float slowPercentage,
com.jme3.scene.Spatial spatial) |
SphereWanderBehavior(Agent agent,
float timeInterval,
float randomFactor,
float rotationFactor)
Constructor for wander behavior.
|
SphereWanderBehavior(Agent agent,
float timeInterval,
float randomFactor,
float rotationFactor,
com.jme3.scene.Spatial spatial) |
SteeringExceptions.SteeringBehaviorException(Agent agent,
java.lang.String message,
float value) |
UnalignedCollisionAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision) |
UnalignedCollisionAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision,
float minDistance) |
UnalignedCollisionAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision,
float minDistance,
float distanceMultiplier) |
UnalignedCollisionAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision,
float minDistance,
float distanceMultiplier,
com.jme3.scene.Spatial spatial) |
UnalignedCollisionAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision,
float minDistance,
com.jme3.scene.Spatial spatial) |
UnalignedCollisionAvoidanceBehavior(Agent agent,
java.util.List<GameEntity> obstacles,
float minTimeToCollision,
com.jme3.scene.Spatial spatial) |
WallApproachBehavior(Agent agent,
com.jme3.scene.Node wall,
float offsetToMaintain) |
WallApproachBehavior(Agent agent,
com.jme3.scene.Node wall,
float offsetToMaintain,
com.jme3.scene.Spatial spatial) |
WanderAreaBehavior(Agent agent)
Constructor for wander behavior.
|
WanderAreaBehavior(Agent agent,
com.jme3.scene.Spatial spatial)
Constructor for wander behavior.
|
Constructor and Description |
---|
QueuingBehavior(Agent agent,
java.util.List<Agent> neighbours,
float minDistance) |
QueuingBehavior(Agent agent,
java.util.List<Agent> neighbours,
float minDistance,
com.jme3.scene.Spatial spatial) |