diff options
Diffstat (limited to 'src/imagesprite.h')
-rw-r--r-- | src/imagesprite.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/src/imagesprite.h b/src/imagesprite.h index c9b5175e..ff18e215 100644 --- a/src/imagesprite.h +++ b/src/imagesprite.h @@ -43,7 +43,7 @@ public: bool update(int time) override { return false; } - bool draw(Graphics* graphics, int posX, int posY) const override; + bool draw(Graphics *graphics, int posX, int posY) const override; int getWidth() const override { return mImage->getWidth(); } @@ -51,15 +51,12 @@ public: int getHeight() const override { return mImage->getHeight(); } - const Image* getImage() const override + const Image *getImage() const override { return mImage; } bool setDirection(SpriteDirection direction) override { return false; } - int getNumberOfLayers() - { return 1; } - int getDuration() const override { return 0; } |