This commit is contained in:
2026-07-14 13:07:13 +01:00
parent 7a9b44a735
commit a9054b3be4
5 changed files with 31 additions and 14 deletions
+2 -2
View File
@@ -73,8 +73,8 @@ private:
};
struct ERect : Element {
Color color = {255, 255, 255};
Vec2<float> shape = {0, 0};
Color color = {255, 255, 255};
Vec2<float> size() override;
@@ -97,4 +97,4 @@ struct EWorld : Element {
inline Pool<Element> element_pool;
} // namespace app
#endif
#endif
+6 -2
View File
@@ -3,8 +3,12 @@
#include "utils.h"
struct Entity;
struct Entity {};
struct Component;
struct System;
#endif
struct EntityPool {
Entity entities[];
};
#endif