Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
PiecePlacement.cpp File Reference
#include "PiecePlacement.hpp"
#include "BoardGeometry.hpp"
#include <array>
#include <numbers>
Include dependency graph for PiecePlacement.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::pieces
 

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
 

Variable Documentation

◆ degrees

int degrees

Definition at line 22 of file PiecePlacement.cpp.

◆ x

int x

Definition at line 22 of file PiecePlacement.cpp.

◆ z

int z

Definition at line 22 of file PiecePlacement.cpp.