Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
PiecePlacement.hpp File Reference
#include "DataBanks.hpp"
#include <cstdint>
#include <optional>
Include dependency graph for PiecePlacement.hpp:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  monopoly::pieces::TokenPose
 
struct  monopoly::pieces::BuildingPose
 

Namespaces

namespace  monopoly
 
namespace  monopoly::pieces
 

Enumerations

enum class  monopoly::pieces::RestingIdleCategory : std::uint8_t {
  monopoly::pieces::GoFreeParking = 0 , monopoly::pieces::InJail , monopoly::pieces::JustVisiting , monopoly::pieces::Property ,
  monopoly::pieces::RailroadUtilityChance
}
 

Functions

std::optional< RestingIdleCategory > monopoly::pieces::restingIdleCategory (std::uint8_t boardSquare) noexcept
 
std::optional< TokenPose > monopoly::pieces::tokenOrientation (std::uint8_t boardSquare) noexcept
 
std::optional< TokenPose > monopoly::pieces::tokenAnimationStartOrientation (std::uint8_t boardSquare, data::DataId sequenceId) noexcept
 
std::optional< TokenPose > monopoly::pieces::tokenRestingOrientation (std::uint8_t boardSquare, std::uint8_t restingPosition, std::uint8_t token) noexcept
 
std::optional< BuildingPose > monopoly::pieces::hotelPosition (std::uint8_t boardSquare) noexcept
 
std::optional< BuildingPose > monopoly::pieces::housePosition (std::uint8_t boardSquare, std::uint8_t house) noexcept
 

Variables

constexpr std::uint8_t monopoly::pieces::BoardSquareCountWithSpecials = 42
 
constexpr std::uint8_t monopoly::pieces::RestingPositionCount = 6