#include <entity.hpp>
|
| | AnimatedTextureComponent (const std::string &path, unsigned int tile_width, unsigned int tile_height, int mag_filter, int min_filter, float width, float height, int layer, bool play_animation, bool loop_animation, float animation_delay, int animation_index, uint32_t uid) |
| |
| | AnimatedTextureComponent (std::shared_ptr< SpriteSheet >t, float width, float height, int layer, bool play_animation, bool loop_animation, float animation_delay, int animation_index, uint32_t uid) |
| |
| | AnimatedTextureComponent () |
| |
| | AnimatedTextureComponent (uint32_t uid) |
| |
| | AnimatedTextureComponent (AnimatedTextureComponent &other) |
| |
| | AnimatedTextureComponent (AnimatedTextureComponent &&other) |
| |
| AnimatedTextureComponent & | operator= (AnimatedTextureComponent &b) |
| |
| AnimatedTextureComponent & | operator= (AnimatedTextureComponent &&b) |
| |
| void | PlayAnimation (bool loop=false, float delay=0.0f) |
| |
Definition at line 149 of file entity.hpp.
◆ AnimatedTextureComponent() [1/6]
| AnimatedTextureComponent::AnimatedTextureComponent |
( |
const std::string & | path, |
|
|
unsigned int | tile_width, |
|
|
unsigned int | tile_height, |
|
|
int | mag_filter, |
|
|
int | min_filter, |
|
|
float | width, |
|
|
float | height, |
|
|
int | layer, |
|
|
bool | play_animation, |
|
|
bool | loop_animation, |
|
|
float | animation_delay, |
|
|
int | animation_index, |
|
|
uint32_t | uid ) |
◆ AnimatedTextureComponent() [2/6]
| AnimatedTextureComponent::AnimatedTextureComponent |
( |
std::shared_ptr< SpriteSheet > | t, |
|
|
float | width, |
|
|
float | height, |
|
|
int | layer, |
|
|
bool | play_animation, |
|
|
bool | loop_animation, |
|
|
float | animation_delay, |
|
|
int | animation_index, |
|
|
uint32_t | uid ) |
◆ AnimatedTextureComponent() [3/6]
| AnimatedTextureComponent::AnimatedTextureComponent |
( |
| ) |
|
|
inline |
◆ AnimatedTextureComponent() [4/6]
| AnimatedTextureComponent::AnimatedTextureComponent |
( |
uint32_t | uid | ) |
|
|
inline |
◆ AnimatedTextureComponent() [5/6]
◆ AnimatedTextureComponent() [6/6]
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ PlayAnimation()
| void AnimatedTextureComponent::PlayAnimation |
( |
bool | loop = false, |
|
|
float | delay = 0.0f ) |
◆ m_AnimatedTexture
| std::shared_ptr<SpriteSheet> AnimatedTextureComponent::m_AnimatedTexture |
◆ m_AnimationDelay
| float AnimatedTextureComponent::m_AnimationDelay |
◆ m_AnimationIndex
| int AnimatedTextureComponent::m_AnimationIndex |
◆ m_Height
| float AnimatedTextureComponent::m_Height |
◆ m_LastAnimationTime
| float AnimatedTextureComponent::m_LastAnimationTime |
◆ m_Layer
| int AnimatedTextureComponent::m_Layer |
◆ m_LoopAnimation
| bool AnimatedTextureComponent::m_LoopAnimation |
◆ m_PlayAnimation
| bool AnimatedTextureComponent::m_PlayAnimation |
◆ m_UID
| uint32_t AnimatedTextureComponent::m_UID |
◆ m_Width
| float AnimatedTextureComponent::m_Width |
The documentation for this class was generated from the following files: