[−][src]Module weasel::round
Everything related to the battle's turns and rounds.
Structs
EndRound | Event to trigger the end of the current round. |
EndRoundTrigger | Trigger to build and fire an |
EndTurn | Event to end the current turn. |
EndTurnTrigger | Trigger to build and fire an |
EnvironmentTurn | Event to perform a collective turn for the environment's inanimate entities. |
EnvironmentTurnTrigger | Trigger to build and fire an |
ResetRounds | Event to reset the rounds model. |
ResetRoundsTrigger | Trigger to build and fire a |
Rounds | Manages the battle's rounds. The main purpose is to tell which actor(s) will act next. |
StartTurn | Event to make an actor start a new turn. |
StartTurnTrigger | Trigger to build and fire a |
Enums
TurnState | State machine to manage the turns' state. |
Traits
RoundsRules | Rules to determine the order of turns among actors. |
Type Definitions
RoundsCount | Type for counting the number of rounds. |
RoundsModel | Type to store all information about the order of turns and rounds in the game. |
RoundsSeed | Type to represent a rounds seed.
It is used to bootstrap the |
TurnStateType |
|
TurnsCount | Type for counting the number of turns. |