#include <examples/mutatris/puzzle_game.hpp>
Public Member Functions | |
| void | newGame (int difficulty) |
| void | procBlocks () |
| PuzzleGame (int difficulty, std::function< void()> lineSoundCallback) | |
Public Attributes | |
| int | clears = 0 |
| std::array< GameGrid, 4 > | grid {} |
| int | level = 0 |
| int | score = 0 |
| unsigned int | timeout = 1200 |
Definition at line 11 of file puzzle_game.hpp.
|
explicit |
Definition at line 12 of file puzzle_game.cpp.
| void mutatris::PuzzleGame::newGame | ( | int | difficulty | ) |
| void mutatris::PuzzleGame::procBlocks | ( | ) |
Definition at line 30 of file puzzle_game.cpp.
| int mutatris::PuzzleGame::clears = 0 |
Definition at line 21 of file puzzle_game.hpp.
| std::array<GameGrid, 4> mutatris::PuzzleGame::grid {} |
Definition at line 18 of file puzzle_game.hpp.
| int mutatris::PuzzleGame::level = 0 |
Definition at line 22 of file puzzle_game.hpp.
| int mutatris::PuzzleGame::score = 0 |
Definition at line 19 of file puzzle_game.hpp.
| unsigned int mutatris::PuzzleGame::timeout = 1200 |
Definition at line 20 of file puzzle_game.hpp.