aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/GameObject.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-06 13:45:05 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-06 13:45:05 +0200
commit509fb6ebdd27bc75375c1c51024ea906e25032c0 (patch)
tree89ef8b7e72b25c30e42d73de08769a4402ef0716 /src/crepe/GameObject.h
parent7c9d3452c99fcb89ea6df55755e90f741b23cf10 (diff)
WIP more code style enforcements
Diffstat (limited to 'src/crepe/GameObject.h')
-rw-r--r--src/crepe/GameObject.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/crepe/GameObject.h b/src/crepe/GameObject.h
index 71ef60d..f0f5ea0 100644
--- a/src/crepe/GameObject.h
+++ b/src/crepe/GameObject.h
@@ -9,14 +9,14 @@ class GameObject {
public:
GameObject(std::uint32_t id, std::string name, std::string tag, int layer);
- template <typename T, typename... Args> void AddComponent(Args &&... args);
+ template <typename T, typename... Args>
+ void add_component(Args &&... args);
- std::uint32_t mId;
- std::string mName;
- std::string mTag;
- bool mActive;
- int mLayer;
+ std::uint32_t m_id;
+ std::string m_name;
+ std::string m_tag;
+ bool m_active;
+ int m_layer;
};
-}
-
+} // namespace crepe