summaryrefslogtreecommitdiff
path: root/src/resources/ambientoverlay.h
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-03-26 19:09:31 -0600
committerIra Rice <irarice@gmail.com>2009-03-26 19:09:31 -0600
commit1a9d402bec2fd8166ce50e30a71ba0cf2f27281a (patch)
treee012433f561406ebd67d685f205c86c1c13681b3 /src/resources/ambientoverlay.h
parent2ec46b9a6e5ca1beb043da00cf2bb9d34722ec72 (diff)
downloadmana-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.tar.gz
mana-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.tar.bz2
mana-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.tar.xz
mana-1a9d402bec2fd8166ce50e30a71ba0cf2f27281a.zip
Some code style commits influenced by TMW commit
1715d0afe44a282a356ca88e47c92ec556f094dd Signed-off-by: Ira Rice <irarice@gmail.com>
Diffstat (limited to 'src/resources/ambientoverlay.h')
-rw-r--r--src/resources/ambientoverlay.h9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/resources/ambientoverlay.h b/src/resources/ambientoverlay.h
index bb61f826..142dfd2f 100644
--- a/src/resources/ambientoverlay.h
+++ b/src/resources/ambientoverlay.h
@@ -31,6 +31,11 @@ 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);
@@ -49,8 +54,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