CMake autodetecting boost.

Added KRDataBlock to CMakeLists
This commit is contained in:
2017-10-30 20:58:14 -07:00
parent ef762288f4
commit 4d85c2e3be
11 changed files with 154 additions and 143 deletions

View File

@@ -14,7 +14,7 @@
/*
This class is a pure-virtual base class intended to be subclassed to define behavior of KRNode's in the scene
*/
class KRBehavior;
@@ -31,16 +31,16 @@ class KRBehavior
public:
static void RegisterFactoryCTOR(std::string behaviorName, KRBehaviorFactoryFunction fnFactory);
static void UnregisterFactoryCTOR(std::string behaviorName);
KRBehavior();
virtual ~KRBehavior();
KRNode *getNode() const;
virtual void init();
virtual void update(float deltaTime) = 0;
virtual void visibleUpdate(float deltatime) = 0;
void __setNode(KRNode *node);
static KRBehavior *LoadXML(KRNode *node, tinyxml2::XMLElement *e);
private:
KRNode *__node;