ScummVM API documentation
Sword25::AnimationDescription Class Referenceabstract
Inheritance diagram for Sword25::AnimationDescription:
Sword25::Persistable Sword25::AnimationResource Sword25::AnimationTemplate

Classes

struct  Frame
 

Public Member Functions

virtual const Frame & getFrame (uint index) const =0
 
virtual uint getFrameCount () const =0
 
virtual void unlock ()=0
 
Animation::ANIMATION_TYPES getAnimationType () const
 
int getFPS () const
 
int getMillisPerFrame () const
 
bool isScalingAllowed () const
 
bool isAlphaAllowed () const
 
bool isColorModulationAllowed () const
 
bool persist (OutputPersistenceBlock &writer) override
 
bool unpersist (InputPersistenceBlock &reader) override
 
virtual bool persist (OutputPersistenceBlock &writer)=0
 
virtual bool unpersist (InputPersistenceBlock &reader)=0
 

Protected Attributes

Animation::ANIMATION_TYPES _animationType
 
int32 _FPS
 
int32 _millisPerFrame
 
bool _scalingAllowed
 
bool _alphaAllowed
 
bool _colorModulationAllowed
 

Member Function Documentation

◆ persist()

bool Sword25::AnimationDescription::persist ( OutputPersistenceBlock &  writer)
overridevirtual

Implements Sword25::Persistable.

◆ unpersist()

bool Sword25::AnimationDescription::unpersist ( InputPersistenceBlock &  reader)
overridevirtual

Implements Sword25::Persistable.


The documentation for this class was generated from the following file: