Conquer Chess
Chess and Starcraft combined
Loading...
Searching...
No Matches
program_state.h
Go to the documentation of this file.
1#ifndef PROGRAM_STATE_H
2#define PROGRAM_STATE_H
3
4#include <string>
5#include <vector>
6
7enum class program_state {
8 about,
9 game,
11 loading,
12 lobby,
14 options,
15 replay,
17};
18
20std::vector<program_state> get_all_program_states() noexcept;
21
24
25std::string to_str(const program_state t) noexcept;
26
27std::ostream& operator<<(std::ostream& os, const program_state t) noexcept;
28
29#endif // PROGRAM_STATE_H
std::string to_str(const program_state t) noexcept
Definition program_state.cpp:37
void test_program_state()
Test this class and its free functions.
Definition program_state.cpp:16
std::vector< program_state > get_all_program_states() noexcept
Get all the message_type values.
Definition program_state.cpp:6
program_state
Definition program_state.h:7