GameStatePersistence

Trait GameStatePersistence 

Source
pub trait GameStatePersistence: Send + Sync {
    // Required methods
    fn save_game_state(&self, state: &GameState) -> Result<()>;
    fn load_game_state(&self) -> Result<GameState>;
}

Required Methods§

Implementors§