diff options
Diffstat (limited to 'src/crepe/GameObject.h')
-rw-r--r-- | src/crepe/GameObject.h | 16 |
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 |