Monopoly — Portage moderne 0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
PieceMovePlan.cpp File Reference
#include "PieceMovePlan.hpp"
#include "RuleTypes.hpp"
#include <cstddef>
#include <utility>
Include dependency graph for PieceMovePlan.cpp:

Go to the source code of this file.

Namespaces

namespace  monopoly
 
namespace  monopoly::pieces
 

Functions

std::expected< PieceMovePlan, PieceMovePlanError > monopoly::pieces::planTokenMove (actions::Type notification, std::uint8_t token, std::int32_t before, std::int32_t after, bool animationsEnabled, std::span< const std::uint8_t > randomChoices)
 
std::expected< PieceMovePlan, PieceMovePlanError > monopoly::pieces::planOffBoardMove (std::uint8_t token, std::int32_t before, OffBoardOutcome outcome)