aboutsummaryrefslogtreecommitdiff
path: root/mwe/ecs-homemade/src/GameObjectMax.cpp
diff options
context:
space:
mode:
authorjaroWMR <jarorutjes07@gmail.com>2024-10-10 07:06:11 +0200
committerjaroWMR <jarorutjes07@gmail.com>2024-10-10 07:06:11 +0200
commit3f22ea7e41a81d3c818bdeb536f8df7ff352ae0f (patch)
tree68fc72eb4c11beb5e1c304b9490fce7192d132f3 /mwe/ecs-homemade/src/GameObjectMax.cpp
parent97621ae53dfc3434cd97e45266bd4f4ac2ef49e1 (diff)
parent29fb4bda4872bdfe33a2416a239fb62fc0238167 (diff)
merge with master
Diffstat (limited to 'mwe/ecs-homemade/src/GameObjectMax.cpp')
-rw-r--r--mwe/ecs-homemade/src/GameObjectMax.cpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/mwe/ecs-homemade/src/GameObjectMax.cpp b/mwe/ecs-homemade/src/GameObjectMax.cpp
new file mode 100644
index 0000000..b0c5af7
--- /dev/null
+++ b/mwe/ecs-homemade/src/GameObjectMax.cpp
@@ -0,0 +1,7 @@
+#include "GameObjectMax.h"
+
+#include "ComponentManager.h"
+
+GameObject::GameObject(std::uint32_t id, std::string name, std::string tag,
+ int layer)
+ : mId(id), mName(name), mTag(tag), mActive(true), mLayer(layer) {}