macros and ui element

This commit is contained in:
2026-03-16 14:56:32 +01:00
parent 3a22a3746f
commit 29bb9ca0fe
11 changed files with 190 additions and 30 deletions

View File

@@ -29,7 +29,11 @@
#define GAME_ENTITY(ClassName) \
class ClassName : public Object::Entity { \
using Object::Entity::Entity;
using Object::Entity::Entity; \
public: \
~ClassName() override = default; \
void start() override; \
void update(float deltaTime) override;
#define END_GAME_ENTITY() \
};