int side_units(int side_num) const
Returns the number of units of the side side_num.
std::vector< std::string > & hidden_label_categories_ref()
int village_owner(const map_location &loc) const
Given the location of a village, will return the 0-based index of the team that currently owns it...
bool unit_can_move(const unit &u) const
Will return true iff the unit u has any possible moves it can do (including attacking etc)...
virtual const gamemap & map() const =0
int side_upkeep(int side_num) const
virtual ~display_context()
virtual const unit_map & units() const =0
virtual const std::vector< team > & teams() const =0
int side_units_cost(int side_num) const
Returns the total cost of units of side side_num.
bool is_observer() const
Check if we are an observer in this game.
virtual const std::vector< std::string > & hidden_label_categories() const =0
const unit * get_visible_unit(const map_location &loc, const team ¤t_team, bool see_all=false) const
bool would_be_discovered(const map_location &loc, int side_num, bool see_all=true)
Given a location and a side number, indicates whether an invisible unit of that side at that location...
team_data calculate_team_data(const class team &tm, int side) const