#include <game_state.hpp>
Definition at line 56 of file game_state.hpp.
◆ add_listener()
auto ClientState::add_listener |
( |
std::function< void(std::vector< UnitId >)> |
callback | ) |
|
|
inline |
◆ clear_selected_units()
void ClientState::clear_selected_units |
( |
| ) |
|
|
inline |
◆ get_selected_units()
const std::vector<UnitId> ClientState::get_selected_units |
( |
| ) |
const |
|
inline |
◆ is_selected_unit()
bool ClientState::is_selected_unit |
( |
UnitId |
id | ) |
const |
|
inline |
◆ remove_listener()
void ClientState::remove_listener |
( |
eventpp::CallbackList< void(const std::vector< UnitId >)>::Handle |
handle | ) |
|
|
inline |
◆ select_unit()
void ClientState::select_unit |
( |
UnitId |
id | ) |
|
|
inline |
◆ unselect_unit()
void ClientState::unselect_unit |
( |
UnitId |
id | ) |
|
|
inline |
The documentation for this class was generated from the following file: