![]() |
Conquer Chess
Chess and Starcraft combined
|
#include <iosfwd>#include <vector>

Go to the source code of this file.
Classes | |
| class | action_number |
| The number of an action. More... | |
Functions | |
| std::vector< action_number > | get_all_action_numbers () noexcept |
| Get all the action_numbers in increasing height. | |
| action_number | get_next (const action_number &n) noexcept |
| Get the next action_number, e.g. | |
| action_number | get_previous (const action_number &n) noexcept |
| Get the previous action_number, e.g. | |
| void | test_action_number () |
| Test this class and its members. | |
| bool | operator== (const action_number &lhs, const action_number &rhs) noexcept |
| bool | operator< (const action_number &lhs, const action_number &rhs) noexcept |
| std::ostream & | operator<< (std::ostream &os, const action_number &number) noexcept |
|
noexcept |
Get all the action_numbers in increasing height.
|
noexcept |
Get the next action_number, e.g.
when having 2, this will be 3. For 4, this wil return 1
|
noexcept |
Get the previous action_number, e.g.
when having 2, this will be 1. For 1, this wil return 4
|
noexcept |
|
noexcept |
|
noexcept |
| void test_action_number | ( | ) |
Test this class and its members.