bbf3731cf4
* Add margins all around the board for better aestetics. * Add room for scoring * Because the texture atlas is a 32x32 grid, we can manipulate textures as positions on that grid and only create a rectangle for that texture in the rendering code. * Avoid hardcoded values in the rendering code.
4 lines
111 B
C++
4 lines
111 B
C++
#include "Pellets.hpp"
|
|
|
|
Pellets::Pellets(const Board & board)
|
|
: positions(board.initialPelletPositions()) {}
|