vrecko
virtual reality framework
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
AnimatorEditor.h
Go to the documentation of this file.
1 #ifndef ANIMATOREDITOR_H
2 #define ANIMATOREDITOR_H
3 
4 #include "../EditorController/ControllableAbility.h"
5 #include <vrecko/Ability.h>
7 #include "../ObjectUtils/Animator.h"
8 
9 using namespace vrecko;
10 
11 namespace APEditorQAbilities {
12 
13 
15 public:
17  virtual ~AnimatorEditor() {};
18 
19 protected:
20  virtual void fillDefaultInfo();
21  virtual bool activate();
22  virtual void menuItemClicked(const char* itemID);
23 
24  /* Returns the Animator ability associated to the object or creates one if the ability
25  doesn't exist yet. */
26  APObjectUtils::Animator *GetAnim(bool bCreateIfNotExists = false);
27 };
28 
29 }
30 
31 #endif