Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
PhaseStack.hpp File Reference
#include "RuleTypes.hpp"
Include dependency graph for PhaseStack.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::rules
 
namespace  monopoly::rules::phases
 

Functions

bool monopoly::rules::phases::push (GameState &state, GamePhase phase, PlayerNumber fromPlayer, PlayerNumber toPlayer, std::int64_t amount)
 
bool monopoly::rules::phases::pop (GameState &state)
 
void monopoly::rules::phases::switchTo (GameState &state, GamePhase phase, PlayerNumber fromPlayer, PlayerNumber toPlayer, std::int64_t amount)
 
void monopoly::rules::phases::saveCurrent (GameState &state)
 
bool monopoly::rules::phases::hasCurrentSnapshot (const GameState &state)
 
bool monopoly::rules::phases::hasSnapshots (const GameState &state)
 
bool monopoly::rules::phases::currentStateChanged (const GameState &state)
 
bool monopoly::rules::phases::restoreCurrent (GameState &state)
 
const PendingPhase & monopoly::rules::phases::current (const GameState &state)