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

#include <RuleTypes.hpp>

Public Member Functions

bool operator== (const SquareState &) const =default
 

Public Attributes

PlayerNumber owner = NobodyPlayer
 
PlayerNumber offeredInTradeTo
 
std::uint8_t houses = 0
 
bool mortgaged = false
 
std::int64_t gameEarnings = 0
 

Detailed Description

Definition at line 189 of file RuleTypes.hpp.

Member Function Documentation

◆ operator==()

bool monopoly::rules::SquareState::operator== ( const SquareState &  ) const
default

Member Data Documentation

◆ gameEarnings

std::int64_t monopoly::rules::SquareState::gameEarnings = 0

Definition at line 200 of file RuleTypes.hpp.

◆ houses

std::uint8_t monopoly::rules::SquareState::houses = 0

Definition at line 196 of file RuleTypes.hpp.

◆ mortgaged

bool monopoly::rules::SquareState::mortgaged = false

Definition at line 198 of file RuleTypes.hpp.

◆ offeredInTradeTo

PlayerNumber monopoly::rules::SquareState::offeredInTradeTo
Initial value:
=
constexpr PlayerNumber NobodyPlayer
Definition RuleTypes.hpp:16

Definition at line 193 of file RuleTypes.hpp.

◆ owner

PlayerNumber monopoly::rules::SquareState::owner = NobodyPlayer

Definition at line 191 of file RuleTypes.hpp.


The documentation for this struct was generated from the following file: