start_networked

Function start_networked 

Source
pub fn start_networked<T: Game<K, I>, K, I, M>(
    game: T,
    shared_state: K,
    input: I,
    handle_input: &'static (dyn Fn(Receiver<M>, Arc<Mutex<I>>) -> I + Sync),
)
where I: Send + Copy, M: Send,
Expand description

Start a networked app

§Example

  1. For example please see the official github repo workspace, inside the example lib
  2. TODO: Example is inside src/bin/main.rs