Cleanup
This commit is contained in:
@@ -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
@@ -3,8 +3,12 @@
|
||||
|
||||
#include "utils.h"
|
||||
|
||||
struct Entity;
|
||||
struct Entity {};
|
||||
struct Component;
|
||||
struct System;
|
||||
|
||||
#endif
|
||||
struct EntityPool {
|
||||
Entity entities[];
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user