2018-08-10 23:28:34 +03:00
|
|
|
mod colors;
|
2019-04-24 01:08:36 +03:00
|
|
|
mod game;
|
2018-09-13 20:50:59 +03:00
|
|
|
mod objects;
|
2018-08-10 23:28:34 +03:00
|
|
|
mod plugins;
|
|
|
|
mod render;
|
2018-12-13 01:26:23 +03:00
|
|
|
mod state;
|
2019-04-24 01:08:36 +03:00
|
|
|
mod tutorial;
|
2018-08-10 23:28:34 +03:00
|
|
|
mod ui;
|
|
|
|
|
2018-03-13 18:04:21 +03:00
|
|
|
use structopt::StructOpt;
|
|
|
|
|
|
|
|
fn main() {
|
2019-04-22 03:18:09 +03:00
|
|
|
ezgui::run("A/B Street", 1024.0, 768.0, |canvas, prerender| {
|
2019-04-24 01:08:36 +03:00
|
|
|
game::GameState::new(state::Flags::from_args(), canvas, prerender)
|
2019-04-22 03:18:09 +03:00
|
|
|
});
|
|
|
|
}
|