aboutsummaryrefslogtreecommitdiff
path: root/client/src/main.rs
blob: 5a526204571b60ed0ebe2e2d0417905af8e733e6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
use anyhow::Result;
use client::Client;
use window::WindowState;
use winit::event_loop::EventLoop;

pub mod client;
pub mod renderer;
pub mod window;
pub mod skin_manager;

fn main() -> Result<()> {
    env_logger::init_from_env("LOG");

    // Client::new()?;

    let evloop = EventLoop::new()?;
    evloop.run_app(&mut WindowState::new())?;

    Ok(())
}