![]() |
Atoms Crowd
7.0.0
|
Public Member Functions | |
| BehaviourTreeMapPtr | behaviourTreeMap (const std::string &name) const |
| Return an behaviour trees. More... | |
| BehaviourTreeMapPtr | behaviourTreeMap (const std::string &name) |
| Return an behaviour trees. More... | |
| BehaviourTreeMapPtr | addBehaviourTreeMap (const std::string &name, const AtomsCore::MapMetadata &behaviourTreeMap, bool replace=true) |
| Add an behaviour tree to the map. More... | |
| BehaviourTreeMapPtr | addBehaviourTreeMap (const std::string &name, AtomsCore::MapMetadata &behaviourTreeMap, bool replace=true) |
| Add an behaviour tree to the map. More... | |
| void | removeBehaviourTreeMap (const std::string &name) |
| Remove an behaviour tree from the map. More... | |
| std::vector< std::string > | behaviourTreeMapNames () |
| Get all behaviour tree names. More... | |
| bool | behaviourTreeMapExists (const std::string &name) |
| Check if an behaviour tree exists. More... | |
| unsigned int | numBehaviourTreeMaps () |
| Get number of behaviour trees. | |
| void | clear () |
| Remove all behaviour trees. | |
| bool | buildBehaviourTree (const std::string &name, Atoms::BehaviourTree &behaviourTree) |
| builds a behaviour tree from the map name | |
| bool | buildBehaviourTreeFromMap (const BehaviourTreeMapPtr &map, Atoms::BehaviourTree &behaviourTree) |
| builds a behaviour tree from a behaviour tree map | |
| void | getAllBlackboardExposeKeys (const std::string &name, AtomsCore::MapMetadata &exposeKeys) |
| gets all the blackboard keys to expose in the host app | |
Static Public Member Functions | |
| static BehaviourTreeMaps & | instance () |
| Singleton access. | |
| BehaviourTreeMapPtr Atoms::BehaviourTreeMaps::addBehaviourTreeMap | ( | const std::string & | name, |
| AtomsCore::MapMetadata & | behaviourTreeMap, | ||
| bool | replace = true |
||
| ) |
Add an behaviour tree to the map.
| name | behaviour tree name \patam behaviourTree the behaviourTree object |
| BehaviourTreeMapPtr Atoms::BehaviourTreeMaps::addBehaviourTreeMap | ( | const std::string & | name, |
| const AtomsCore::MapMetadata & | behaviourTreeMap, | ||
| bool | replace = true |
||
| ) |
Add an behaviour tree to the map.
| name | behaviour tree name \patam behaviourTree the behaviourTree object |
| BehaviourTreeMapPtr Atoms::BehaviourTreeMaps::behaviourTreeMap | ( | const std::string & | name | ) |
Return an behaviour trees.
| BehaviourTree | behaviour tree name |
| BehaviourTreeMapPtr Atoms::BehaviourTreeMaps::behaviourTreeMap | ( | const std::string & | name | ) | const |
Return an behaviour trees.
| BehaviourTree | behaviour tree name |
| bool Atoms::BehaviourTreeMaps::behaviourTreeMapExists | ( | const std::string & | name | ) |
Check if an behaviour tree exists.
| name | behaviour tree name |
| std::vector<std::string> Atoms::BehaviourTreeMaps::behaviourTreeMapNames | ( | ) |
Get all behaviour tree names.
| void Atoms::BehaviourTreeMaps::removeBehaviourTreeMap | ( | const std::string & | name | ) |
Remove an behaviour tree from the map.
| name | behaviour tree name |