Now supports multiple levels.
[ghostsoverboard] / level.h
1 #ifndef LEVEL_H
2 #define LEVEL_H
3
4 class Level
5 {
6 public:
7     Level();
8     Level(int ghosts, int rocks = 0, int octopuses = 0, int octopusSpeed = 100);
9     void setNumberOfGhosts(int ghosts);
10     int getNumberOfGhosts() const;
11     void setNumberOfRocks(int rocks);
12     int getNumberOfRocks() const;
13     void setNumberOfOctopuses(int octopuses);
14     int getNumberOfOctopuses() const;
15     void setOctopusSpeed(int speed);
16     int getOctopusSpeed() const;
17
18
19 private:
20     int ghosts_;
21     int rocks_;
22     int octopuses_;
23     int octopusSpeed_;
24
25 };
26
27 #endif // LEVEL_H