Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
monopoly::rules::cards Namespace Reference

Typedefs

using BankPayoutObserver = void(*)(BankPayout)
 

Enumerations

enum class  BankPayout { Dividend50 , BankError200 }
 

Functions

void initializeDecks (GameState &state, std::mt19937 &randomGenerator)
 
void setBankPayoutObserver (BankPayoutObserver observer) noexcept
 
void actionCardSeen (GameState &state, const actions::Message &message)
 

Typedef Documentation

◆ BankPayoutObserver

Enumeration Type Documentation

◆ BankPayout

Enumerator
Dividend50 
BankError200 

Definition at line 8 of file RuleCards.hpp.

Function Documentation

◆ actionCardSeen()

void monopoly::rules::cards::actionCardSeen ( GameState &  state,
const actions::Message &  message 
)

Definition at line 504 of file RuleCards.cpp.

◆ initializeDecks()

void monopoly::rules::cards::initializeDecks ( GameState &  state,
std::mt19937 &  randomGenerator 
)

Definition at line 47 of file CardDecks.cpp.

◆ setBankPayoutObserver()

void monopoly::rules::cards::setBankPayoutObserver ( BankPayoutObserver  observer)
noexcept

Definition at line 18 of file RuleCards.cpp.