mirror of
https://github.com/devZoGok/vb01.git
synced 2026-08-26 19:43:30 +00:00
23 lines
326 B
C++
23 lines
326 B
C++
#ifndef ANIMATABLE_H
|
|
#define ANIMATABLE_H
|
|
|
|
#include "animation.h"
|
|
|
|
namespace vb01{
|
|
class AnimationController;
|
|
|
|
class Animatable{
|
|
public:
|
|
enum Type{NODE, BONE};
|
|
|
|
Animatable();
|
|
virtual void animate(float, KeyframeChannel){}
|
|
inline Type getType(){return type;}
|
|
private:
|
|
protected:
|
|
Type type;
|
|
};
|
|
}
|
|
|
|
#endif
|