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

Go to the source code of this file.

Classes

struct  monopoly::rules::buildings::PlacementCheck
 

Namespaces

namespace  monopoly
 
namespace  monopoly::rules
 
namespace  monopoly::rules::buildings
 

Typedefs

using monopoly::rules::buildings::PlayerSet = std::uint32_t
 

Functions

void monopoly::rules::buildings::resetTransientState ()
 
PlacementCheck monopoly::rules::buildings::testBuildingPlacement (const GameState &state, PlayerNumber purchaser, std::uint8_t squareNo, bool adding)
 
PlayerSet monopoly::rules::buildings::playersWhoCanBuyBuilding (const GameState &state, bool hotel)
 
board::PropertySet monopoly::rules::buildings::placeBuildingLegalSquares (const GameState &state)
 
void monopoly::rules::buildings::buildApprovedBuilding (GameState &state, std::uint8_t squareNo)
 
void monopoly::rules::buildings::actionBuyHouse (GameState &state, const actions::Message &message)
 
void monopoly::rules::buildings::actionSellBuildings (GameState &state, const actions::Message &message)
 
void monopoly::rules::buildings::actionCancelDecomposition (GameState &state, const actions::Message &message)
 
void monopoly::rules::buildings::actionPlayerBuySellMortgage (GameState &state, const actions::Message &message)
 
void monopoly::rules::buildings::actionPlayerDoneBuySellMortgage (GameState &state, const actions::Message &message)
 
bool monopoly::rules::buildings::restartBuildingPhase (GameState &state)