#include <display_context.hpp>
Public Member Functions | |
operator bool () const | |
Public Attributes | |
bool | move = false |
The unit can move to another hex, taking account of enemies' locations, ZoC and terrain costs vs current movement points. More... | |
bool | attack_here = false |
The unit can make an attack from the hex that it's currently on, this requires attack points and a non-petrified enemy in an adjacent hex. More... | |
Definition at line 68 of file display_context.hpp.
|
inline |
Definition at line 82 of file display_context.hpp.
References attack_here, display_context::is_observer(), display_context::side_units(), display_context::side_units_cost(), display_context::side_upkeep(), display_context::unit_can_move(), display_context::unit_orb_status(), and display_context::village_owner().
bool display_context::can_move_result::attack_here = false |
The unit can make an attack from the hex that it's currently on, this requires attack points and a non-petrified enemy in an adjacent hex.
Definition at line 80 of file display_context.hpp.
Referenced by operator bool().
bool display_context::can_move_result::move = false |
The unit can move to another hex, taking account of enemies' locations, ZoC and terrain costs vs current movement points.
Definition at line 74 of file display_context.hpp.