CMake autodetecting boost.
Added KRDataBlock to CMakeLists
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user