diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 14:10:52 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 14:10:52 +0200 |
commit | f8bc2a06a90c0ee172054db7ae2e1fdae09d14a3 (patch) | |
tree | e858037e49a8a94734026d636fceb28a00b1ab99 /src/crepe/Components.h | |
parent | 509fb6ebdd27bc75375c1c51024ea906e25032c0 (diff) |
code standard v3
Diffstat (limited to 'src/crepe/Components.h')
-rw-r--r-- | src/crepe/Components.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/crepe/Components.h b/src/crepe/Components.h index 1ad9ef2..139599c 100644 --- a/src/crepe/Components.h +++ b/src/crepe/Components.h @@ -8,7 +8,7 @@ class Component { public: Component(); - bool m_active; + bool active; }; // TODO: these should be in separate files @@ -17,23 +17,23 @@ class Sprite : public Component { public: Sprite(std::string path); - std::string m_path; + std::string path; }; class Rigidbody : public Component { public: Rigidbody(int mass, int gravityScale, int bodyType); - int m_mass; - int m_gravity_scale; - int m_body_type; + int mass; + int gravity_scale; + int body_type; }; class Collider : public Component { public: Collider(int size); - int m_size; + int size; }; } // namespace crepe |