summaryrefslogtreecommitdiff
path: root/src/imagesprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imagesprite.h')
-rw-r--r--src/imagesprite.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/imagesprite.h b/src/imagesprite.h
index 3ee8fc61..c9b5175e 100644
--- a/src/imagesprite.h
+++ b/src/imagesprite.h
@@ -32,35 +32,35 @@ class ImageSprite : public Sprite
public:
ImageSprite(Image *image);
- ~ImageSprite();
+ ~ImageSprite() override;
- bool reset()
+ bool reset() override
{ return false; }
- bool play(std::string action)
+ bool play(std::string action) override
{ return false; }
- bool update(int time)
+ bool update(int time) override
{ return false; }
- bool draw(Graphics* graphics, int posX, int posY) const;
+ bool draw(Graphics* graphics, int posX, int posY) const override;
- int getWidth() const
+ int getWidth() const override
{ return mImage->getWidth(); }
- int getHeight() const
+ int getHeight() const override
{ return mImage->getHeight(); }
- const Image* getImage() const
+ const Image* getImage() const override
{ return mImage; }
- virtual bool setDirection(SpriteDirection direction)
+ bool setDirection(SpriteDirection direction) override
{ return false; }
int getNumberOfLayers()
{ return 1; }
- int getDuration() const
+ int getDuration() const override
{ return 0; }
private: