|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
Functions | |
| bool | push (GameState &state, GamePhase phase, PlayerNumber fromPlayer, PlayerNumber toPlayer, std::int64_t amount) |
| bool | pop (GameState &state) |
| void | switchTo (GameState &state, GamePhase phase, PlayerNumber fromPlayer, PlayerNumber toPlayer, std::int64_t amount) |
| void | saveCurrent (GameState &state) |
| bool | hasCurrentSnapshot (const GameState &state) |
| bool | hasSnapshots (const GameState &state) |
| bool | currentStateChanged (const GameState &state) |
| bool | restoreCurrent (GameState &state) |
| const PendingPhase & | current (const GameState &state) |
| const PendingPhase & monopoly::rules::phases::current | ( | const GameState & | state | ) |
Definition at line 168 of file PhaseStack.cpp.
Definition at line 133 of file PhaseStack.cpp.
Definition at line 121 of file PhaseStack.cpp.
Definition at line 126 of file PhaseStack.cpp.
Definition at line 56 of file PhaseStack.cpp.
| bool monopoly::rules::phases::push | ( | GameState & | state, |
| GamePhase | phase, | ||
| PlayerNumber | fromPlayer, | ||
| PlayerNumber | toPlayer, | ||
| std::int64_t | amount | ||
| ) |
Definition at line 20 of file PhaseStack.cpp.
Definition at line 158 of file PhaseStack.cpp.
Definition at line 113 of file PhaseStack.cpp.
| void monopoly::rules::phases::switchTo | ( | GameState & | state, |
| GamePhase | phase, | ||
| PlayerNumber | fromPlayer, | ||
| PlayerNumber | toPlayer, | ||
| std::int64_t | amount | ||
| ) |
Definition at line 90 of file PhaseStack.cpp.