![]() |
Olympe Engine 2.0
2D Game Engine with ECS Architecture
|
#include <ECS_Components.h>
Collaboration diagram for VisualEditor_data:Public Member Functions | |
| VisualEditor_data ()=default | |
| VisualEditor_data (SDL_FRect rect, Sprite *spr, Vector hotspot) | |
| VisualEditor_data (const VisualEditor_data &)=default | |
| VisualEditor_data & | operator= (const VisualEditor_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 | isSelected = false |
| bool | isVisible = true |
Definition at line 291 of file ECS_Components.h.
|
default |
Definition at line 302 of file ECS_Components.h.
|
default |
|
default |
|
inline |
| SDL_Color VisualEditor_data::color = { 255, 255, 255, 255 } |
Definition at line 296 of file ECS_Components.h.
| Vector VisualEditor_data::hotSpot |
Definition at line 295 of file ECS_Components.h.
Referenced by UpdateRect().
Definition at line 297 of file ECS_Components.h.
Definition at line 298 of file ECS_Components.h.
Definition at line 294 of file ECS_Components.h.
Referenced by World::CreateMissingPrefabPlaceholder(), PrefabFactory::InstantiateVisualEditor(), and UpdateRect().
| SDL_FRect VisualEditor_data::srcRect = { 0, 0, 25, 25 } |
Definition at line 293 of file ECS_Components.h.
Referenced by UpdateRect().