Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
RuleEconomy.hpp File Reference
#include "Actions.hpp"
#include "RuleTypes.hpp"
Include dependency graph for RuleEconomy.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::economy
 

Functions

void monopoly::rules::economy::resetTransientState ()
 
void monopoly::rules::economy::sellAllBuildingsForSettlement (GameState &state, std::uint8_t squareNo)
 
void monopoly::rules::economy::transferPropertyForSettlement (GameState &state, std::uint8_t squareNo, PlayerNumber toPlayer)
 
void monopoly::rules::economy::blindlyTransferCash (GameState &state, PlayerNumber fromPlayer, PlayerNumber toPlayer, std::int64_t amount, bool sendAnimation)
 
void monopoly::rules::economy::addMoneyToFreeParkingPot (GameState &state, std::int64_t amount)
 
void monopoly::rules::economy::stackDebt (GameState &state, PlayerNumber fromPlayer, PlayerNumber toPlayer, std::int64_t amount)
 
void monopoly::rules::economy::stackDebtAndRestart (GameState &state, PlayerNumber fromPlayer, PlayerNumber toPlayer, std::int64_t amount)
 
void monopoly::rules::economy::collectRent (GameState &state)
 
void monopoly::rules::economy::actionBuyOrAuctionDecision (GameState &state, const actions::Message &message)
 
void monopoly::rules::economy::actionTaxDecision (GameState &state, const actions::Message &message)
 
void monopoly::rules::economy::actionFreeUnmortgageDone (GameState &state, const actions::Message &message)
 
void monopoly::rules::economy::actionMortgaging (GameState &state, const actions::Message &message)
 
void monopoly::rules::economy::actionSellBuildings (GameState &state, const actions::Message &message)
 
void monopoly::rules::economy::actionGoBankrupt (GameState &state, const actions::Message &message)
 
void monopoly::rules::economy::landOnIncomeTax (GameState &state)
 
void monopoly::rules::economy::landOnLuxuryTax (GameState &state)
 
void monopoly::rules::economy::landOnFreeParking (GameState &state)
 
bool monopoly::rules::economy::restartEconomyPhase (GameState &state, const actions::Message &message)