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