Atoms Crowd  4.1.0
Atoms::Behaviour Class Reference
Inheritance diagram for Atoms::Behaviour:
Atoms::AgentHasMetadataBehaviour Atoms::Composite Atoms::ComputeDirectionBehaviour Atoms::ConditionBehaviour Atoms::CopyMetadataBehaviour Atoms::CreateAgentBehaviour Atoms::Decorator Atoms::DeleteAgentMetadataBehaviour Atoms::FailureBehaviour Atoms::FindRandomReachablePointBehaviour Atoms::FlockingBehaviour Atoms::FollowCurveBehaviour Atoms::GenerateRandomValueBehaviour Atoms::GetAgentMetadataBehaviour Atoms::GetAngleBetweenVectorsBehaviour Atoms::GetClosestAgentBehaviour Atoms::GetCurvePointBehaviour Atoms::GetMeshPointBehaviour Atoms::GetVectorLengthBehaviour Atoms::GoToBehaviour Atoms::JointAimBehaviour Atoms::JointConstraintBehaviour Atoms::JointIkBehaviour Atoms::JointTransformBehaviour Atoms::KillAgentBehaviour Atoms::OffsetVectorBehaviour Atoms::PlayAnimationBehaviour Atoms::PlayAnimationSequenceBehaviour Atoms::RotateVectorBehaviour Atoms::RunningBehaviour Atoms::ScaleVectorBehaviour Atoms::SetAgentMetadataBehaviour Atoms::SetBlackboardEntryBehaviour Atoms::SetBlackboardEntryFromArrayBehaviour Atoms::SuccessBehaviour Atoms::WaitBehaviour

Classes

struct  State
 

Public Types

enum  Status {
  INVALID = 0, SUCCESS, FAILURE, RUNNING,
  ABORTED, SUSPENDEND
}
 

Public Member Functions

 Behaviour (unsigned short idx, unsigned short parentIdx)
 
virtual const char * typeName () const
 
virtual void initialize (BehaviourTreeContext *context, State *data)
 
virtual void update (BehaviourTreeContext *context, State *data)
 
virtual void terminate (BehaviourTreeContext *context, State *data)
 
virtual void releaseData (BehaviourTreeContext *context, State *data)
 
void tick (BehaviourTreeContext *context, State *data)
 
virtual void onChildUpdated (BehaviourTreeContext *context, State *data, unsigned int childIndex, unsigned short childStatus)
 
virtual void addChild (unsigned short childIndex)
 
virtual void setAttributes (const AtomsCore::MapMetadata *attributes, Blackboard *blackboard)
 
virtual void getAttributes (AtomsCore::MapMetadata *attributes, Blackboard *blackboard)
 
virtual void getAttributeProperties (AtomsCore::MapMetadata *attributes)
 

Public Attributes

unsigned short index
 
short parentIndex
 
unsigned short span
 
unsigned char baseType
 
unsigned char lock
 

The documentation for this class was generated from the following file: