Monopoly — Portage moderne
0.1.0
Portage moderne C/C++23 du Monopoly de 1999
Loading...
Searching...
No Matches
RuleSynchronization.hpp
Go to the documentation of this file.
1
#pragma once
2
3
#include "
Actions.hpp
"
4
#include "
RuleTypes.hpp
"
5
6
namespace
monopoly::rules::sync
7
{
8
void
resetWaitGate
();
9
10
11
bool
beginWaitOnce
(
12
GameState&
state
,
13
actions::Type
hint
14
);
15
16
17
void
waitForEverybodyReady
(
18
GameState&
state
,
19
actions::Type
hint
20
);
21
22
23
void
actionIAmHere
(
24
GameState&
state
,
25
const
actions::Message& message
26
);
27
28
29
bool
restartSyncPhase
(
30
GameState&
state
31
);
32
33
34
void
onIdleTick
(
35
GameState&
state
36
);
37
}
Actions.hpp
index
unsigned index
Definition
ModernIBarSkin.cpp:25
RuleTypes.hpp
monopoly::actions::Type
Type
Definition
Actions.hpp:12
monopoly::rules::sync
Definition
RuleSynchronization.cpp:11
monopoly::rules::sync::restartSyncPhase
bool restartSyncPhase(GameState &state)
Definition
RuleSynchronization.cpp:197
monopoly::rules::sync::onIdleTick
void onIdleTick(GameState &state)
Definition
RuleSynchronization.cpp:244
monopoly::rules::sync::beginWaitOnce
bool beginWaitOnce(GameState &state, actions::Type hint)
Definition
RuleSynchronization.cpp:52
monopoly::rules::sync::waitForEverybodyReady
void waitForEverybodyReady(GameState &state, actions::Type hint)
Definition
RuleSynchronization.cpp:75
monopoly::rules::sync::resetWaitGate
void resetWaitGate()
Definition
RuleSynchronization.cpp:46
monopoly::rules::sync::actionIAmHere
void actionIAmHere(GameState &state, const actions::Message &message)
Definition
RuleSynchronization.cpp:120
monopoly::rules::state
const GameState & state()
Definition
RulesEngine.cpp:662
RuleSynchronization.hpp
Generated by
1.9.8