diff options
Diffstat (limited to 'src/games/tetris/Tetris.hpp')
| -rw-r--r-- | src/games/tetris/Tetris.hpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/games/tetris/Tetris.hpp b/src/games/tetris/Tetris.hpp index b3ace1d..5dd6fde 100644 --- a/src/games/tetris/Tetris.hpp +++ b/src/games/tetris/Tetris.hpp @@ -8,7 +8,7 @@ class Tetris : public Game { public: - Tetris() = default; + Tetris(); bool Update(std::vector<SDL_Event> &events) override; void HandleTetrominoPlacement(); @@ -37,7 +37,7 @@ private: private: Board m_board; Tetromino m_active_tetromino; - Tetromino m_next_tetromino; + Tetromino::Id m_next_tetromino_id; int32_t m_tetromino_counters[Tetromino::id_count] {}; int32_t m_score = 0; @@ -45,7 +45,6 @@ private: int32_t m_starting_level = 0; int32_t m_level = 0; int32_t m_softdrop_counter = 0; - int32_t m_highscore = 0; }; |
