Skip to content

Commit

Permalink
refactor: rename level module to utils
Browse files Browse the repository at this point in the history
The level module was renamed to utils to better organize the codebase.
This change affects imports and references to the PushState enum, which
has been moved accordingly.
  • Loading branch information
ShenMian committed Jun 9, 2024
1 parent 9f5fe9f commit 2f80815
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ mod components;
mod database;
mod events;
mod input_map;
mod level;
mod utils;
mod plugins;
mod resources;
mod solve;
Expand All @@ -19,7 +19,7 @@ use bevy_kira_audio::prelude::*;
use events::*;
use input_map::*;
use leafwing_input_manager::prelude::*;
use level::*;
use utils::*;
use plugins::performance_matrix::*;
use resources::*;
use state::*;
Expand Down
2 changes: 1 addition & 1 deletion src/resources.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ use serde::{Deserialize, Serialize};
use soukoban::{Level, Map};

use crate::database;
use crate::level::PushState;
use crate::utils::PushState;
use crate::solve::solver::*;
use soukoban::direction::Direction;

Expand Down
2 changes: 1 addition & 1 deletion src/systems/input.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ use nalgebra::Vector2;
use soukoban::{Level, Tiles};

use crate::events::*;
use crate::level::PushState;
use crate::utils::PushState;
use crate::resources::*;
use crate::solve::solver::*;
use crate::systems::level::*;
Expand Down
File renamed without changes.

0 comments on commit 2f80815

Please sign in to comment.