|
Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
|
#include <PieceIdleTransition.hpp>
Public Types | |
| using | Slot = std::optional< rules::PlayerNumber > |
| using | SquareSlots = std::array< Slot, RestingPositionCount > |
| using | Occupancy = std::array< SquareSlots, BoardSquareCountWithSpecials > |
Public Member Functions | |
| void | reset () noexcept |
| std::expected< void, PieceIdleTransitionError > | initializeNewGame (const rules::GameState &state) noexcept |
| std::expected< void, PieceIdleTransitionError > | initialize (const rules::GameState &state, std::optional< rules::PlayerNumber > center=std::nullopt) noexcept |
| std::expected< PieceIdleTransitionPlan, PieceIdleTransitionError > | planTurnChange (const rules::GameState &state, rules::PlayerNumber newCurrent) noexcept |
| const Occupancy & | occupancy () const noexcept |
| std::optional< rules::PlayerNumber > | center () const noexcept |
| bool | initialized () const noexcept |
Definition at line 41 of file PieceIdleTransition.hpp.
| using monopoly::pieces::PieceIdleState::Occupancy = std::array<SquareSlots, BoardSquareCountWithSpecials> |
Definition at line 46 of file PieceIdleTransition.hpp.
| using monopoly::pieces::PieceIdleState::Slot = std::optional<rules::PlayerNumber> |
Definition at line 44 of file PieceIdleTransition.hpp.
Definition at line 45 of file PieceIdleTransition.hpp.
|
inlinenoexcept |
Definition at line 59 of file PieceIdleTransition.hpp.
|
noexcept |
Definition at line 96 of file PieceIdleTransition.cpp.
|
inlinenoexcept |
Definition at line 60 of file PieceIdleTransition.hpp.
|
noexcept |
Definition at line 80 of file PieceIdleTransition.cpp.
Definition at line 58 of file PieceIdleTransition.hpp.
|
noexcept |
Definition at line 124 of file PieceIdleTransition.cpp.
|
noexcept |
Definition at line 72 of file PieceIdleTransition.cpp.