[][src]Module weasel::round

Everything related to the battle's rounds.

Structs

EndRound

Event to end the current round.

EndRoundTrigger

Trigger to build and fire an EndRound event.

ResetRounds

Event to reset the rounds model.

ResetRoundsTrigger

Trigger to build and fire a ResetRounds event.

Rounds

Manages the battle's rounds. The main purpose is to tell which actor will act next.

StartRound

Event to make an actor start a new round.

StartRoundTrigger

Trigger to build and fire a StartRound event.

Enums

RoundState

State machine to manage the rounds' state.

Traits

RoundsRules

Rules to determine the order of rounds among actors.

Type Definitions

RoundStateType

RoundState alias parameterized on the BattleRules R.

RoundsModel

Type to store all information about the order of rounds in the game.

RoundsSeed

Type to represent a rounds seed. It is used to bootstrap the RoundsModel for a game.