16 const bool indicate_protectedness
22 const bool semi_transparent =
true
33 const std::vector<piece>& pieces,
The layout of a chess board.
Definition board_layout.h:15
The class that acts as a controller for game}.
Definition game_controller.h:31
The game logic.
Definition game.h:28
void draw_unit_paths(const std::vector< piece > &pieces, const board_layout &layout)
Show the paths the units are taking on-screen.
Definition draw_board.cpp:167
void draw_pieces(const game_controller &c, const board_layout &layout, const bool indicate_protectedness)
Draw the pieces.
Definition draw_board.cpp:16
void draw_squares(const board_layout &layout, const bool semi_transparent=true)
Draw the squares of a chessboard at the window target rectangle's location.
Definition draw_board.cpp:81
void draw_unit_health_bars(const game &g, const board_layout &layout)
Show the pieces' health bars on-screen.
Definition draw_board.cpp:105