|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
Classes | |
| struct | PlacementCheck |
Typedefs | |
| using | PlayerSet = std::uint32_t |
Functions | |
| void | resetTransientState () |
| PlacementCheck | testBuildingPlacement (const GameState &state, PlayerNumber purchaser, std::uint8_t squareNo, bool adding) |
| PlayerSet | playersWhoCanBuyBuilding (const GameState &state, bool hotel) |
| board::PropertySet | placeBuildingLegalSquares (const GameState &state) |
| void | buildApprovedBuilding (GameState &state, std::uint8_t squareNo) |
| void | actionBuyHouse (GameState &state, const actions::Message &message) |
| void | actionSellBuildings (GameState &state, const actions::Message &message) |
| void | actionCancelDecomposition (GameState &state, const actions::Message &message) |
| void | actionPlayerBuySellMortgage (GameState &state, const actions::Message &message) |
| void | actionPlayerDoneBuySellMortgage (GameState &state, const actions::Message &message) |
| bool | restartBuildingPhase (GameState &state) |
| using monopoly::rules::buildings::PlayerSet = typedef std::uint32_t |
Definition at line 12 of file RuleBuildings.hpp.
| void monopoly::rules::buildings::actionBuyHouse | ( | GameState & | state, |
| const actions::Message & | message | ||
| ) |
Definition at line 750 of file RuleBuildings.cpp.
| void monopoly::rules::buildings::actionCancelDecomposition | ( | GameState & | state, |
| const actions::Message & | message | ||
| ) |
Definition at line 1355 of file RuleBuildings.cpp.
| void monopoly::rules::buildings::actionPlayerBuySellMortgage | ( | GameState & | state, |
| const actions::Message & | message | ||
| ) |
Definition at line 1399 of file RuleBuildings.cpp.
| void monopoly::rules::buildings::actionPlayerDoneBuySellMortgage | ( | GameState & | state, |
| const actions::Message & | message | ||
| ) |
Definition at line 1511 of file RuleBuildings.cpp.
| void monopoly::rules::buildings::actionSellBuildings | ( | GameState & | state, |
| const actions::Message & | message | ||
| ) |
Definition at line 1035 of file RuleBuildings.cpp.
Definition at line 726 of file RuleBuildings.cpp.
| board::PropertySet monopoly::rules::buildings::placeBuildingLegalSquares | ( | const GameState & | state | ) |
Definition at line 668 of file RuleBuildings.cpp.
| PlayerSet monopoly::rules::buildings::playersWhoCanBuyBuilding | ( | const GameState & | state, |
| bool | hotel | ||
| ) |
Definition at line 610 of file RuleBuildings.cpp.
| void monopoly::rules::buildings::resetTransientState | ( | ) |
Definition at line 250 of file RuleBuildings.cpp.
Definition at line 1561 of file RuleBuildings.cpp.
| PlacementCheck monopoly::rules::buildings::testBuildingPlacement | ( | const GameState & | state, |
| PlayerNumber | purchaser, | ||
| std::uint8_t | squareNo, | ||
| bool | adding | ||
| ) |
Definition at line 256 of file RuleBuildings.cpp.