moved renderer to separate thread, add evenio and start structure, make it so you can add stuff
This commit is contained in:
@@ -1,12 +1,13 @@
|
||||
use client::Client;
|
||||
use client::ClientApp;
|
||||
use winit::event_loop::EventLoop;
|
||||
|
||||
mod client;
|
||||
mod util;
|
||||
mod world;
|
||||
|
||||
fn main() {
|
||||
let event_loop = EventLoop::new().expect("Failed to create event loop");
|
||||
event_loop
|
||||
.run_app(&mut Client::new())
|
||||
.run_app(&mut ClientApp::new())
|
||||
.expect("Failed to run event loop");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user