Size and scale of game world.
More...
#include <Board.hpp>
|
| | Board () |
| | Construct a new Board object.
|
| |
| | Board (const int tileSize, const int width, const int height) |
| | Construct a new Board object.
|
| |
| void | Render (SDL_Renderer *const renderer) |
| | Render the grid tiles of the board.
|
| |
Size and scale of game world.
◆ Board() [1/2]
Construct a new Board object.
◆ Board() [2/2]
| Board::Board |
( |
const int | tileSize, |
|
|
const int | width, |
|
|
const int | height ) |
|
inline |
Construct a new Board object.
- Parameters
-
| tileSize | size of each tile in pixels |
| width | width of board in grid units |
| height | height of board in grid units |
◆ Render()
| void Board::Render |
( |
SDL_Renderer *const | renderer | ) |
|
Render the grid tiles of the board.
- Parameters
-
◆ m_boardHeight
| const int Board::m_boardHeight |
◆ m_boardWidth
| const int Board::m_boardWidth |
◆ m_tileSize
| const int Board::m_tileSize |
The documentation for this class was generated from the following files: