[][src]Trait ggpf::game::GameView

pub trait GameView: View {
    type G: Game;
    fn set_state(&mut self, state: Self::G);
}

Games with an user interface.

Terminal user interface is managed by the cursive library.

Associated Types

type G: Game

Interfaced game type

Loading content...

Required methods

fn set_state(&mut self, state: Self::G)

Set UI game state.

Loading content...

Implementors

impl GameView for IBreakthrough[src]

type G = Breakthrough

impl<GV> GameView for IWithHistory<GV> where
    GV: GameView,
    GV::G: Game + Clone
[src]

type G = WithHistory<GV::G>

Loading content...