|
@@ -1,4 +1,4 @@
|
|
|
-use crate::com::{self, Position, Sprite};
|
|
|
+use crate::components::{self, Position, Sprite};
|
|
|
use crate::consts;
|
|
|
use crate::game::MyGame;
|
|
|
|
|
@@ -47,17 +47,17 @@ pub fn systems(game: &mut MyGame, ctx: &mut Context) -> ggez::GameResult<()> {
|
|
|
|
|
|
Draw {
|
|
|
ctx,
|
|
|
- _phase: com::Background,
|
|
|
+ _phase: components::Background,
|
|
|
}
|
|
|
.run_now(&game.world);
|
|
|
Draw {
|
|
|
ctx,
|
|
|
- _phase: com::Foreground,
|
|
|
+ _phase: components::Foreground,
|
|
|
}
|
|
|
.run_now(&game.world);
|
|
|
Draw {
|
|
|
ctx,
|
|
|
- _phase: com::Decoration,
|
|
|
+ _phase: components::Decoration,
|
|
|
}
|
|
|
.run_now(&game.world);
|
|
|
|