AnimEngine
rootcomponent.hpp
1 #pragma once
2 #ifndef KJY_ANIM_ENGINE_COMPONENTS_BASICFLAGS_HPP_
3 #define KJY_ANIM_ENGINE_COMPONENTS_BASICFLAGS_HPP_
4 
5 struct PureComponent{
6  virtual bool isDrawable() const = 0;
7  virtual bool isPoseable() const = 0;
8  virtual bool isPosed() const = 0;
9 };
10 
11 class RootComponent : virtual public PureComponent{
12  public:
13  virtual bool isDrawable() const {return(false);}
14  virtual bool isPoseable() const {return(false);}
15  virtual bool isPosed() const {return(false);}
16 };
17 
18 #endif
Definition: rootcomponent.hpp:5
Definition: rootcomponent.hpp:11