blob: 106fd18bb4cecd1f13124cef1b7651741ad58a07 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
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
|