|
| SpriteComponent (std::string id) |
|
| SpriteComponent (Color clr) |
|
| SpriteComponent (std::string id, bool isMainMenu) |
|
void | setTex (std::string id) |
|
void | init () override |
|
void | update (float deltaTime) override |
|
void | draw (size_t v_index, PlaneModelRenderer &batch, TazGraphEngine::Window &window) |
|
void | SetAnimation (int idX, int idY, size_t fr, float sp, const Animation::animType type, int reps=0) |
|
void | SetMovingAnimation (int idX, int idY, size_t fr, float sp, const Animation::animType type, const std::vector< glm::vec2 > &_positions, const std::vector< int > &_zIndices, const std::vector< int > &_rotations, int reps=0) |
|
void | SetFlashAnimation (int idX, int idY, size_t fr, float sp, const Animation::animType type, const std::vector< float > &flashTimes, Color flashC, int reps=0) |
|
void | setCurrFrame () |
|
void | setMoveFrame () |
|
void | setSpecificMoveFrame () |
|
void | setFlashFrame () |
|
void | DestroyTex () |
|
void | DestroyGlTex () |
|
std::string | GetComponentName () override |
|
void | showGUI () override |
|
virtual void | draw (size_t e_index, LineRenderer &batch, TazGraphEngine::Window &window) |
|
virtual void | draw (size_t e_index, PlaneColorRenderer &batch, TazGraphEngine::Window &window) |
|
virtual void | draw (size_t e_index, LightRenderer &batch, TazGraphEngine::Window &window) |
|
◆ draw()
◆ GetComponentName()
std::string SpriteComponent::GetComponentName |
( |
| ) |
|
|
inlineoverridevirtual |
◆ init()
void SpriteComponent::init |
( |
| ) |
|
|
inlineoverridevirtual |
◆ showGUI()
void SpriteComponent::showGUI |
( |
| ) |
|
|
inlineoverridevirtual |
◆ update()
void SpriteComponent::update |
( |
float |
deltaTime | ) |
|
|
inlineoverridevirtual |
The documentation for this class was generated from the following file:
- /mnt/c/Users/lefte/Mujin/MastersThesis/Taz/TazGraph/TazGraphEngine/GECS/Components/Empty/Basic/SpriteComponent.h