diff options
Diffstat (limited to 'source/logic/Rock.h')
-rw-r--r-- | source/logic/Rock.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/source/logic/Rock.h b/source/logic/Rock.h new file mode 100644 index 0000000..106fd18 --- /dev/null +++ b/source/logic/Rock.h @@ -0,0 +1,29 @@ +#ifndef ROCK_H +#define ROCK_H + +#include "../logic/GameObject.h" +#include "../presentation/BitmapStore.h" + +/** +* @brief A game object that acts as an obstacle to the player. +* +* Does nothing actively. +* +* @author Justin Wernick +* @author David Schneider +*/ +class Rock: public GameObject +{ + public: + /** + * @brief Creates a Rock at the given coordinates. + * + * @param [in] x The x coordinate of the Rock's position. + * @param [in] y The y coordinate of the Rock's position. + */ + Rock(double x, double y); + + //assignment and copy constructors have been left with the compiler generated versions +}; + +#endif // ROCK_H |