Rename game.rs -> level.rs
This commit is contained in:
parent
fee36f158b
commit
6b6a6720ce
|
@ -1,7 +1,7 @@
|
|||
use std::process::exit;
|
||||
|
||||
use components::{register_all, CharRender, MobAction, Mobile, Player, Position, TurnTaker};
|
||||
use game::DungeonLevel;
|
||||
use level::DungeonLevel;
|
||||
|
||||
use pancurses::{endwin, initscr, noecho, Window};
|
||||
use player::player_turn;
|
||||
|
@ -9,7 +9,7 @@ use specs::prelude::*;
|
|||
use systems::{MobSystem, TimeSystem};
|
||||
|
||||
mod components;
|
||||
mod game;
|
||||
mod level;
|
||||
mod player;
|
||||
mod rooms;
|
||||
mod systems;
|
||||
|
|
|
@ -5,7 +5,7 @@ use specs::prelude::*;
|
|||
|
||||
use crate::{
|
||||
components::{CharRender, MobAction, Mobile, Player, Position},
|
||||
game::{DungeonLevel, DungeonTile},
|
||||
level::{DungeonLevel, DungeonTile},
|
||||
quit,
|
||||
};
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@ use pathfinding::directed::astar::astar;
|
|||
use rand::Rng;
|
||||
|
||||
use crate::{
|
||||
game::{DungeonLevel, DungeonTile, LEVEL_SIZE},
|
||||
level::{DungeonLevel, DungeonTile, LEVEL_SIZE},
|
||||
util::NiceFloat,
|
||||
};
|
||||
|
||||
|
|
Loading…
Reference in a new issue