aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--game/Random.cpp1
-rw-r--r--game/Random.h2
-rw-r--r--src/crepe/api/Sprite.cpp4
3 files changed, 1 insertions, 6 deletions
diff --git a/game/Random.cpp b/game/Random.cpp
index 59be3c5..ace6245 100644
--- a/game/Random.cpp
+++ b/game/Random.cpp
@@ -25,4 +25,3 @@ unsigned Random::u(unsigned upper, unsigned lower) {
unsigned x = rand() % range;
return x + lower;
}
-
diff --git a/game/Random.h b/game/Random.h
index cf05e87..8af9669 100644
--- a/game/Random.h
+++ b/game/Random.h
@@ -6,6 +6,4 @@ public:
static double d(double upper = 1.0, double lower = 0.0);
static int i(int upper, int lower = 0);
static unsigned u(unsigned upper, unsigned lower = 0);
-
};
-
diff --git a/src/crepe/api/Sprite.cpp b/src/crepe/api/Sprite.cpp
index 2919857..3c77e2e 100644
--- a/src/crepe/api/Sprite.cpp
+++ b/src/crepe/api/Sprite.cpp
@@ -20,9 +20,7 @@ Sprite::Sprite(game_object_id_t id, const Asset & texture, const Sprite::Data &
Sprite::~Sprite() { dbg_trace(); }
-unique_ptr<Component> Sprite::save() const {
- return unique_ptr<Component>(new Sprite(*this));
-}
+unique_ptr<Component> Sprite::save() const { return unique_ptr<Component>(new Sprite(*this)); }
void Sprite::restore(const Component & snapshot) {
*this = static_cast<const Sprite &>(snapshot);