1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
pub mod packet; // use gameloop::timer; // pub mod gameloop; // pub mod net; // pub fn main(){ // let connection = net::connection::Connection::new(); // connection.start_connect("wss://echo.websocket.events"); // } // pub fn update(val:f64){ // timer::now(); // }