ResidualVM logo ResidualVM website - Forums - Contact us BuildBot - Doxygen - Wiki curved edge

Stark::Resources::AnimProp Class Reference

#include <anim.h>

Inheritance diagram for Stark::Resources::AnimProp:
Collaboration diagram for Stark::Resources::AnimProp:

List of all members.

Public Member Functions

 AnimProp (Object *parent, byte subType, uint16 index, const Common::String &name)
virtual ~AnimProp ()
void readData (Formats::XRCReadStream *stream) override
 Deserialize the resource static data and initial state.
void onPostRead () override
 Called when the node's initialization is complete.
VisualgetVisual () override
 Obtain the Visual to be used to render the animation.
uint32 getMovementSpeed () const override
 Get the anim movement speed in units per seconds.

Protected Member Functions

void printData () override

Protected Attributes

Common::String _field_3C
Common::Array< Common::String_meshFilenames
Common::String _textureFilename
uint32 _movementSpeed
Common::String _archiveName
VisualProp_visual

Detailed Description

Definition at line 181 of file anim.h.


Constructor & Destructor Documentation

Stark::Resources::AnimProp::AnimProp ( Object parent,
byte  subType,
uint16  index,
const Common::String name 
)

Definition at line 211 of file anim.cpp.

Stark::Resources::AnimProp::~AnimProp (  )  [virtual]

Definition at line 207 of file anim.cpp.


Member Function Documentation

uint32 Stark::Resources::AnimProp::getMovementSpeed (  )  const [override, virtual]

Get the anim movement speed in units per seconds.

Reimplemented from Stark::Resources::Anim.

Definition at line 221 of file anim.cpp.

Visual * Stark::Resources::AnimProp::getVisual (  )  [override, virtual]

Obtain the Visual to be used to render the animation.

Implements Stark::Resources::Anim.

Definition at line 217 of file anim.cpp.

void Stark::Resources::AnimProp::onPostRead (  )  [override, virtual]

Called when the node's initialization is complete.

Allows to load additional data from file.

Reimplemented from Stark::Resources::Object.

Definition at line 240 of file anim.cpp.

void Stark::Resources::AnimProp::printData (  )  [override, protected, virtual]

Reimplemented from Stark::Resources::Anim.

Definition at line 254 of file anim.cpp.

void Stark::Resources::AnimProp::readData ( Formats::XRCReadStream stream  )  [override, virtual]

Deserialize the resource static data and initial state.

Reimplemented from Stark::Resources::Anim.

Definition at line 225 of file anim.cpp.


Member Data Documentation

Definition at line 201 of file anim.h.

Definition at line 197 of file anim.h.

Definition at line 200 of file anim.h.

Definition at line 199 of file anim.h.

Definition at line 203 of file anim.h.


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


Generated on Sat Jan 19 2019 05:07:49 for ResidualVM by doxygen 1.7.1
curved edge   curved edge