aboutsummaryrefslogtreecommitdiff
path: root/src/crepe/api/Sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/crepe/api/Sprite.h')
-rw-r--r--src/crepe/api/Sprite.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/crepe/api/Sprite.h b/src/crepe/api/Sprite.h
index bdb4da9..00dcb27 100644
--- a/src/crepe/api/Sprite.h
+++ b/src/crepe/api/Sprite.h
@@ -12,14 +12,14 @@
namespace crepe {
struct FlipSettings {
- bool flip_x = 1;
- bool flip_y = 1;
+ bool flip_x = true;
+ bool flip_y = true;
};
class Sprite : public Component {
public:
- Sprite(uint32_t game_id, std::shared_ptr<Texture> image,
+ Sprite(game_object_id_t id, std::shared_ptr<Texture> image,
const Color & color, const FlipSettings & flip);
~Sprite();
std::shared_ptr<Texture> sprite_image;