FIFE
2008.0
|
#include <visual.h>
Public Member Functions | |
virtual | ~ActionVisual () |
void | addAnimation (uint32_t angle, AnimationPtr animationptr) |
AnimationPtr | getAnimationByAngle (int32_t angle) |
void | getActionImageAngles (std::vector< int32_t > &angles) |
![]() | |
virtual | ~Visual2DGfx () |
void | setTransparency (uint8_t transparency) |
uint32_t | getTransparency () |
void | setVisible (bool visible) |
uint32_t | isVisible () |
Static Public Member Functions | |
static ActionVisual * | create (Action *action) |
Additional Inherited Members | |
![]() | |
Visual2DGfx () |
Action visual contains data that is needed to visualize different actions on screen
|
virtual |
Destructor
Definition at line 117 of file visual.cpp.
void FIFE::ActionVisual::addAnimation | ( | uint32_t | angle, |
AnimationPtr | animationptr | ||
) |
Adds new animation with given angle (degrees)
Definition at line 120 of file visual.cpp.
|
static |
Constructs and assigns it to the passed item
Definition at line 108 of file visual.cpp.
void FIFE::ActionVisual::getActionImageAngles | ( | std::vector< int32_t > & | angles | ) |
Returns list of available angles for this Action
Definition at line 130 of file visual.cpp.
AnimationPtr FIFE::ActionVisual::getAnimationByAngle | ( | int32_t | angle | ) |
Gets index to animation closest to given angle
Definition at line 125 of file visual.cpp.
References FIFE::getIndexByAngle().