31 #ifndef SWORD25_ANIMATIONDESCRIPTION_H 32 #define SWORD25_ANIMATIONDESCRIPTION_H 34 #include "sword25/kernel/common.h" 35 #include "sword25/kernel/persistable.h" 36 #include "sword25/gfx/animation.h" 43 _animationType(Animation::AT_LOOP),
46 _scalingAllowed(
true),
48 _colorModulationAllowed(
true)
62 virtual const Frame &getFrame(uint index)
const = 0;
63 virtual uint getFrameCount()
const = 0;
64 virtual void unlock() = 0;
66 Animation::ANIMATION_TYPES getAnimationType()
const {
67 return _animationType;
72 int getMillisPerFrame()
const {
73 return _millisPerFrame;
75 bool isScalingAllowed()
const {
76 return _scalingAllowed;
78 bool isAlphaAllowed()
const {
81 bool isColorModulationAllowed()
const {
82 return _colorModulationAllowed;
89 Animation::ANIMATION_TYPES _animationType;
91 int32 _millisPerFrame;
94 bool _colorModulationAllowed;
Definition: animationdescription.h:52
Definition: persistable.h:39
Definition: animationdescription.h:40
Definition: outputpersistenceblock.h:39