diff options
Diffstat (limited to 'src/resources/ambientlayer.h')
-rw-r--r-- | src/resources/ambientlayer.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/resources/ambientlayer.h b/src/resources/ambientlayer.h index 54a764841..e0593ce4f 100644 --- a/src/resources/ambientlayer.h +++ b/src/resources/ambientlayer.h @@ -38,14 +38,15 @@ class AmbientLayer * @param keepRatio rescale the image to keep * the same ratio than in 800x600 resolution mode. */ - AmbientLayer(Image *img, float parallax, - float speedX, float speedY, bool keepRatio = false); + AmbientLayer(Image *const img, const float parallax, + const float speedX, const float speedY, + const bool keepRatio = false); ~AmbientLayer(); - void update(int timePassed, float dx, float dy); + void update(const int timePassed, const float dx, const float dy); - void draw(Graphics *graphics, int x, int y); + void draw(Graphics *const graphics, const int x, const int y) const; private: Image *mImage; |