Actionable

Trait Actionable 

Source
pub trait Actionable {
    // Required method
    fn action(&mut self, action: Action) -> Result<&GameState, &GameState>;
}

Required Methods§

Source

fn action(&mut self, action: Action) -> Result<&GameState, &GameState>

Implementors§