From 2ee665ef6954f6eab9f0398c19284b3ea4c8246d Mon Sep 17 00:00:00 2001 From: tom barrett Date: Tue, 23 Jul 2019 00:54:35 -0500 Subject: state -> world, moved struct members to private --- src/main.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/main.rs') 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) } -- cgit v1.2.3