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)
 ~AnimProp () override
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 202 of file anim.h.


Constructor & Destructor Documentation

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

Definition at line 218 of file anim.cpp.

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

Definition at line 214 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 228 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 224 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 247 of file anim.cpp.

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

Reimplemented from Stark::Resources::Anim.

Definition at line 261 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 232 of file anim.cpp.


Member Data Documentation

Definition at line 222 of file anim.h.

Definition at line 218 of file anim.h.

Definition at line 221 of file anim.h.

Definition at line 220 of file anim.h.

Definition at line 224 of file anim.h.


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


Generated on Sat Oct 19 2019 05:06:28 for ResidualVM by doxygen 1.7.1
curved edge   curved edge