summaryrefslogtreecommitdiff
path: root/src/resources/ambientoverlay.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 01:42:53 +0100
committerBjørn Lindeijer <bjorn@lindeijer.nl>2009-03-27 01:43:55 +0100
commit1715d0afe44a282a356ca88e47c92ec556f094dd (patch)
tree36dcaa69dcf0165c33d7da1c1cc1a9f5fb7e228f /src/resources/ambientoverlay.h
parent511d9ac780e094767e806c9a448ac973279dd4c8 (diff)
downloadmana-client-1715d0afe44a282a356ca88e47c92ec556f094dd.tar.gz
mana-client-1715d0afe44a282a356ca88e47c92ec556f094dd.tar.bz2
mana-client-1715d0afe44a282a356ca88e47c92ec556f094dd.tar.xz
mana-client-1715d0afe44a282a356ca88e47c92ec556f094dd.zip
Fixed include structure in resource/ directory
There is also a new rule that trivial constructors and destructors should no longer be trivially "documented", since this just takes up space with no gain.
Diffstat (limited to 'src/resources/ambientoverlay.h')
-rw-r--r--src/resources/ambientoverlay.h12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/resources/ambientoverlay.h b/src/resources/ambientoverlay.h
index 65f9891d..756d0eb7 100644
--- a/src/resources/ambientoverlay.h
+++ b/src/resources/ambientoverlay.h
@@ -30,13 +30,15 @@ class AmbientOverlay
public:
/**
* Constructor.
+ *
+ * @param img the image this overlay displays
+ * @param parallax scroll factor based on camera position
+ * @param speedX scrolling speed in x-direction
+ * @param speedY scrolling speed in y-direction
*/
AmbientOverlay(Image *img, float parallax,
float speedX, float speedY);
- /**
- * Destructor.
- */
~AmbientOverlay();
void update(int timePassed, float dx, float dy);
@@ -48,8 +50,8 @@ class AmbientOverlay
float mParallax;
float mPosX; /**< Current layer X position. */
float mPosY; /**< Current layer Y position. */
- float mSpeedX; /**< Scroll speed in X direction. */
- float mSpeedY; /**< Scroll speed in Y direction. */
+ float mSpeedX; /**< Scrolling speed in X direction. */
+ float mSpeedY; /**< Scrolling speed in Y direction. */
};
#endif