diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 13:45:05 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-06 13:45:05 +0200 |
commit | 509fb6ebdd27bc75375c1c51024ea906e25032c0 (patch) | |
tree | 89ef8b7e72b25c30e42d73de08769a4402ef0716 /src/crepe/Components.cpp | |
parent | 7c9d3452c99fcb89ea6df55755e90f741b23cf10 (diff) |
WIP more code style enforcements
Diffstat (limited to 'src/crepe/Components.cpp')
-rw-r--r-- | src/crepe/Components.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/crepe/Components.cpp b/src/crepe/Components.cpp index 9760daa..4a43692 100644 --- a/src/crepe/Components.cpp +++ b/src/crepe/Components.cpp @@ -3,11 +3,12 @@ using namespace crepe; -Component::Component() : mActive(true) {} +Component::Component() : m_active(true) {} -Sprite::Sprite(std::string path) : mPath(path) {} +Sprite::Sprite(std::string path) : m_path(path) {} Rigidbody::Rigidbody(int mass, int gravityScale, int bodyType) - : mMass(mass), mGravityScale(gravityScale), mBodyType(bodyType) {} + : m_mass(mass), m_gravity_scale(gravityScale), m_body_type(bodyType) {} + +Collider::Collider(int size) : m_size(size) {} -Colider::Colider(int size) : mSize(size) {} |