The coordinate on a screen.
Definition screen_coordinate.h:12
A rectangle-shaped area on the screen.
Definition screen_rect.h:15
The layout of a square.
Definition square_layout.h:61
const screen_rect & get_piece() const noexcept
Definition square_layout.h:78
const screen_rect & get_health_bar_outline() const noexcept
The outline of the health bar.
Definition square_layout.h:70
const screen_rect & get_is_protected() const noexcept
Definition square_layout.h:79
screen_rect get_shield_bar_value(const double f) const
The shield bar value, a bar within the lower half of the outline of the health bar.
Definition square_layout.cpp:58
screen_rect get_health_bar_value(const double f, const race r=race::classic) const
The health bar value, a bar within the outline of the health bar.
Definition square_layout.cpp:49
const screen_rect & get_square() const noexcept
The full square.
Definition square_layout.h:67
race
The chess race.
Definition race.h:10
void test_piece_layout()
Definition square_layout.cpp:67