/// Create a new controller from a connector
Create a new controller from a connector
Create a new controller from a connector
fn new(port: i32, max_players: i32, connector: Arc<Mutex<Connector>>) -> Controller {
        Controller {
            players: vec![],
            max_players,
            port,
            connector,
        }
    }
fn new ( port : i32 , max_players : i32 , connector : Arc < Mutex < Connector > > ) -> Controller { Controller { players : vec ! [ ] , max_players , port , connector , } }
Create a new controller from a connector
Create a new controller from a connector
port
i32
max_players
i32
connector
Arc<Mutex<Connector>>