diff options
author | tom barrett <spalf0@gmail.com> | 2019-07-23 00:54:35 -0500 |
---|---|---|
committer | tom barrett <spalf0@gmail.com> | 2019-07-23 03:48:58 -0500 |
commit | 2ee665ef6954f6eab9f0398c19284b3ea4c8246d (patch) | |
tree | a64d57f2fecbded780d93f464b36354f432c3033 /src/main.rs | |
parent | f351a002b66ae8a4b73588b7ffdffc69623181f3 (diff) |
state -> world, moved struct members to private
Diffstat (limited to 'src/main.rs')
-rw-r--r-- | src/main.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/main.rs b/src/main.rs index 6f16771..78c60f9 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,7 +1,7 @@ use ggez::conf::{NumSamples, WindowSetup}; use ggez::{event, ContextBuilder, GameResult}; -use pax_romana::state::State; +use pax_romana::world::World; fn main() -> GameResult { let (ref mut context, ref mut event_loop) = ContextBuilder::new("pax-romana", "tom barrett") @@ -13,7 +13,7 @@ fn main() -> GameResult { .add_resource_path("./resources") .build()?; - let state = &mut State::new(context)?; + let state = &mut World::new(context)?; event::run(context, event_loop, state) } |