References and crates and stuffs
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use bevy::{prelude::*, utils::HashSet};
|
||||
use bevy_ecs_ldtk::prelude::*;
|
||||
|
||||
use crate::{Wall, GRID_SIZE};
|
||||
use crate::level_structure::Wall;
|
||||
|
||||
#[derive(Default, Component)]
|
||||
pub(crate) struct Player;
|
||||
@@ -86,8 +86,8 @@ fn cache_wall_locations(
|
||||
|
||||
let new_level_walls = LevelWalls {
|
||||
wall_locations,
|
||||
level_width: level.px_wid / GRID_SIZE,
|
||||
level_height: level.px_hei / GRID_SIZE,
|
||||
level_width: level.px_wid / crate::GRID_SIZE,
|
||||
level_height: level.px_hei / crate::GRID_SIZE,
|
||||
};
|
||||
|
||||
*level_walls = new_level_walls;
|
||||
|
||||
Reference in New Issue
Block a user