aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-11-12 15:16:39 +0100
committerLoek Le Blansch <loek@pipeframe.xyz>2024-11-12 15:16:39 +0100
commit0e9a4b0e9b4ba92290c106cda7164607c499940c (patch)
treed17c2c94ae99cd995b07f3de5df1385504d32113 /src/crepe/api
parent33454c2c8d8c0abdfd405608af4e6cd53a25e7c4 (diff)
`make format`
Diffstat (limited to 'src/crepe/api')
-rw-r--r--src/crepe/api/Animator.cpp5
-rw-r--r--src/crepe/api/Camera.cpp3
2 files changed, 6 insertions, 2 deletions
diff --git a/src/crepe/api/Animator.cpp b/src/crepe/api/Animator.cpp
index 8b396af..58fee2a 100644
--- a/src/crepe/api/Animator.cpp
+++ b/src/crepe/api/Animator.cpp
@@ -10,7 +10,10 @@
using namespace crepe;
Animator::Animator(uint32_t id, Sprite & ss, int row, int col, int col_animator)
- : Component(id), spritesheet(ss), row(row), col(col) {
+ : Component(id),
+ spritesheet(ss),
+ row(row),
+ col(col) {
dbg_trace();
animator_rect = spritesheet.sprite_rect;
diff --git a/src/crepe/api/Camera.cpp b/src/crepe/api/Camera.cpp
index 820a6a8..6355a03 100644
--- a/src/crepe/api/Camera.cpp
+++ b/src/crepe/api/Camera.cpp
@@ -10,7 +10,8 @@
using namespace crepe;
Camera::Camera(uint32_t id, const Color & bg_color)
- : Component(id), bg_color(bg_color) {
+ : Component(id),
+ bg_color(bg_color) {
dbg_trace();
}