summaryrefslogtreecommitdiff
path: root/src/imagesprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/imagesprite.h')
-rw-r--r--src/imagesprite.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/imagesprite.h b/src/imagesprite.h
index b9eb477d1..294d0264c 100644
--- a/src/imagesprite.h
+++ b/src/imagesprite.h
@@ -40,13 +40,14 @@ public:
bool reset() override
{ return false; }
- bool play(std::string action A_UNUSED) override
+ bool play(const std::string &action A_UNUSED) override
{ return false; }
- bool update(int time A_UNUSED) override
+ bool update(const int time A_UNUSED) override
{ return false; }
- bool draw(Graphics* graphics, int posX, int posY) const override;
+ bool draw(Graphics *const graphics,
+ const int posX, const int posY) const override;
int getWidth() const override A_WARN_UNUSED
{ return mImage ? mImage->getWidth() : 0; }