![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <ECS_Components.h>
Collaboration diagram for VisualSprite_data:Public Member Functions | |
| VisualSprite_data ()=default | |
| VisualSprite_data (SDL_FRect rect, Sprite *spr, Vector hotspot) | |
| VisualSprite_data (const VisualSprite_data &)=default | |
| VisualSprite_data & | operator= (const VisualSprite_data &)=default |
| void | UpdateRect () |
Public Attributes | |
| SDL_FRect | srcRect = { 0, 0, 25, 25 } |
| Sprite * | sprite = nullptr |
| Vector | hotSpot |
| SDL_Color | color = { 255, 255, 255, 255 } |
| bool | visible = true |
Definition at line 264 of file ECS_Components.h.
|
default |
Definition at line 274 of file ECS_Components.h.
|
default |
|
default |
|
inline |
| SDL_Color VisualSprite_data::color = { 255, 255, 255, 255 } |
Definition at line 269 of file ECS_Components.h.
Referenced by VideoGame::InitializeAITestScene().
| Vector VisualSprite_data::hotSpot |
Definition at line 268 of file ECS_Components.h.
Referenced by RenderingEditorSystem::Render(), and UpdateRect().
Definition at line 267 of file ECS_Components.h.
Referenced by PrefabFactory::InstantiateVisualSprite(), and UpdateRect().
| SDL_FRect VisualSprite_data::srcRect = { 0, 0, 25, 25 } |
Definition at line 266 of file ECS_Components.h.
Referenced by UpdateRect().
Definition at line 270 of file ECS_Components.h.