aboutsummaryrefslogtreecommitdiff
path: root/src/example/scene_manager.cpp
diff options
context:
space:
mode:
authormax-001 <maxsmits21@kpnmail.nl>2024-11-07 12:33:37 +0100
committermax-001 <maxsmits21@kpnmail.nl>2024-11-07 12:33:37 +0100
commit96ef24654d2ee26184ebcb5b9092649e67afe5d9 (patch)
tree3149f522a7390a2f7ff98c2b7cc494cf2a69a0a0 /src/example/scene_manager.cpp
parentcd0940f72e1e0d4abb0bc1ef5fb481b389a1f77a (diff)
Made game_object_id const
Diffstat (limited to 'src/example/scene_manager.cpp')
-rw-r--r--src/example/scene_manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/example/scene_manager.cpp b/src/example/scene_manager.cpp
index efbf2c2..471c400 100644
--- a/src/example/scene_manager.cpp
+++ b/src/example/scene_manager.cpp
@@ -52,7 +52,7 @@ int main() {
cout << "Metadata components of Scene1:" << endl;
// Print the Metadata
for (auto & m : metadata) {
- cout << "Id: " << m.get().game_object_id << " Name: " << m.get().name
+ cout << "Id: " << m.get().GAME_OBJECT_ID << " Name: " << m.get().name
<< " Tag: " << m.get().tag << endl;
}
@@ -67,7 +67,7 @@ int main() {
cout << "Metadata components of Scene2:" << endl;
// Print the Metadata
for (auto & m : metadata) {
- cout << "Id: " << m.get().game_object_id << " Name: " << m.get().name
+ cout << "Id: " << m.get().GAME_OBJECT_ID << " Name: " << m.get().name
<< " Tag: " << m.get().tag << endl;
}