blob: 0af3228706aec15beb54240c2f773127fda0f068 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
use ggez::{conf::Conf, event, ContextBuilder, GameResult};
use pax_romana::state::State;
fn main() -> GameResult {
let conf = Conf::new();
let (ref mut context, ref mut event_loop) = ContextBuilder::new("pax-romana", "tom barrett")
.conf(conf)
.add_resource_path("./resources")
.build()?;
let state = &mut State::new(context)?;
event::run(context, event_loop, state)
}
|