aboutsummaryrefslogtreecommitdiff
path: root/src/example/ecs.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-07 12:36:08 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-07 12:36:08 +0100
commitacbe6b5d4256db950827b120fe7cd781e45715f6 (patch)
tree8a4fa0077127a8d7f947da291d9a92efa94834ee /src/example/ecs.cpp
parent96ef24654d2ee26184ebcb5b9092649e67afe5d9 (diff)
Made name and tag const
Diffstat (limited to 'src/example/ecs.cpp')
-rw-r--r--src/example/ecs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/ecs.cpp b/src/example/ecs.cpp
index dfd3595..7593faf 100644
--- a/src/example/ecs.cpp
+++ b/src/example/ecs.cpp
@@ -38,8 +38,8 @@ int main() {
// Print the Metadata and Transform components
for (auto & m : metadata) {
- cout << "Id: " << m.get().GAME_OBJECT_ID << " Name: " << m.get().name
- << " Tag: " << m.get().tag << " Parent: " << m.get().parent
+ cout << "Id: " << m.get().GAME_OBJECT_ID << " Name: " << m.get().NAME
+ << " Tag: " << m.get().TAG << " Parent: " << m.get().parent
<< " Children: ";
for (auto & c : m.get().children) {
cout << c << " ";