ELEC2645 (2018/19) / Mbed 2 deprecated el17ajf

Dependencies:   mbed

Fork of el17ajf by Angus Findlay

Revision:
7:2e37bad816cb
Parent:
6:a54df561f442
Child:
11:fba7d54fd36b
--- a/Game/Game.h	Thu Mar 14 12:08:10 2019 +0000
+++ b/Game/Game.h	Fri Mar 15 07:55:23 2019 +0000
@@ -7,17 +7,17 @@
 public:
     Game();
     ~Game();
-    void over();
     void update();
     void draw();
-    void nextLevel();
 private:
-    void MoveCurrentTetrominoDown();
+    void moveCurrentTetrominoDown();
     void startLevel(int level);
     Grid grid;
-    Tetromino::Type nextTetrominoType = O;
-    Tetromino currentTetromino =
-        Tetromino::getTetrominoOfType(nextTetrominoType);
+    Tetromino::Type nextTetrominoType;
+    Tetromino currentTetromino;
+    void dropCurrentTetromino();
+    void nextLevel();
+    void over();
 };
 
 #endif
\ No newline at end of file