Added a Level class
[ghostsoverboard] / level.h
diff --git a/level.h b/level.h
new file mode 100644 (file)
index 0000000..7402630
--- /dev/null
+++ b/level.h
@@ -0,0 +1,27 @@
+#ifndef LEVEL_H
+#define LEVEL_H
+
+class Level
+{
+public:
+    Level();
+    Level(int ghosts = 5, int rocks = 0, int octopuses = 0, int octopusSpeed = 100);
+    void setNumberOfGhosts(int ghosts);
+    int getNumberOfGhosts() const;
+    void setNumberOfRocks(int rocks);
+    int getNumberOfRocks() const;
+    void setNumberOfOctopuses(int octopuses);
+    int getNumberOfOctopuses() const;
+    void setOctopusSpeed(int speed);
+    int getOctopusSpeed() const;
+
+
+private:
+    int ghosts_;
+    int rocks_;
+    int octopuses_;
+    int octopusSpeed_;
+
+};
+
+#endif // LEVEL_H