|
The Game Engine
1
|
Set of Animations that defines an Actor or stand alone moving entity with various animatoins. More...
#include <Actor.h>
Public Member Functions | |
| Actor (Animation *anim) | |
| Actor (std::vector< Animation * > anims) | |
| Actor (std::vector< string > anims) | |
Public Attributes | |
| unsigned int | Frame |
| The frame #. More... | |
| unsigned int | CurrentAnimation |
| Index to the current loaded animation. More... | |
| std::vector< Animation * > | Animations |
| Vector of pointers to all of this sprite's Animations. More... | |
Set of Animations that defines an Actor or stand alone moving entity with various animatoins.
This class is tasked with the following:
| Actor::Actor | ( | std::vector< string > | anims | ) |
| std::vector<Animation*> Actor::Animations |
| unsigned int Actor::CurrentAnimation |