[][src]Module weasel::battle

Battle module.

Structs

Battle

Represent the in-game world from the point of view of the tactical combat system.

BattleBuilder

A builder object to create a battle.

BattleState

Owns he battle submodules that contain the current state of the battle.

EndBattle

Event to end the battle. After the battle has ended new events can't be processed.

EndBattleTrigger

Trigger to build and fire an EndBattle event.

Enums

BattlePhase

All possible phases in which a battle can be.

Traits

BattleController

A trait for types that have control over a battle.

BattleRules

Contains the set of rules for this battle. It's a trait that uses composition to gather all other subsystem rules in a single place.

Type Definitions

EventCallback

Type to define a callback invoked each time an event is processed.

Version

Type to represent the version of this battle rules. It is used to verify each event. You can use () to disable versioning.