BVB Source Codes

CRYENGINE Show BehaviorTreeMetaExtensions.cpp Source code

Return Download CRYENGINE: download BehaviorTreeMetaExtensions.cpp Source code - Download CRYENGINE Source code - Type:.cpp
  1. // Copyright 2001-2016 Crytek GmbH / Crytek Group. All rights reserved.
  2.  
  3. #include "StdAfx.h"
  4.  
  5. #include "BehaviorTreeMetaExtensions.h"
  6.  
  7. #include <CryAISystem/BehaviorTree/IBehaviorTree.h>
  8.  
  9. namespace BehaviorTree
  10. {
  11.  
  12. MetaExtensionFactory::MetaExtensionFactory()
  13.         : m_metaExtensionCreators()
  14. {
  15. }
  16.  
  17. void MetaExtensionFactory::RegisterMetaExtensionCreator(MetaExtensionCreator metaExtensionCreator)
  18. {
  19.         m_metaExtensionCreators.push_back(metaExtensionCreator);
  20. }
  21.  
  22. void MetaExtensionFactory::CreateMetaExtensions(MetaExtensionTable& metaExtensionTable)
  23. {
  24.         for (MetaExtensionCreator& metaExtensionCreator : m_metaExtensionCreators)
  25.         {
  26.                 metaExtensionTable.AddMetaExtension(metaExtensionCreator());
  27.         }
  28. }
  29.  
  30. }
  31.  
downloadBehaviorTreeMetaExtensions.cpp Source code - Download CRYENGINE Source code
Related Source Codes/Software:
postal - 2017-06-11
reactide - Reactide is the first dedicated IDE for React web ... 2017-06-11
rkt - rkt is a pod-native container engine for Linux. It... 2017-06-11
uWebSockets - Tiny WebSockets https://for... 2017-06-11
realworld - TodoMVC for the RealWorld - Exemplary fullstack Me... 2017-06-11
CRYENGINE - CRYENGINE is a powerful real-time game development... 2017-06-11
goreplay - GoReplay is an open-source tool for capturing and ... 2017-06-10
pyenv - Simple Python version management 2017-06-10
redux-saga - An alternative side effect model for Redux apps ... 2017-06-10
angular-starter - 2017-06-10

 Back to top