GameMode

Trait GameMode 

Source
pub trait GameMode {
    type StartingResources: StartingResources;
    type VictoryResources;
}
Expand description

A game mode defines the starting resources and victory conditions for a game.

Required Associated Types§

Source

type StartingResources: StartingResources

Starting resources provided to the player at the beginning of the game.

Source

type VictoryResources

Resources required to achieve victory.

Implementors§