Rename game.rs -> level.rs

This commit is contained in:
Alex Bethel 2022-01-10 19:33:45 -06:00
parent fee36f158b
commit 6b6a6720ce
4 changed files with 4 additions and 4 deletions

View file

@ -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;

View file

@ -5,7 +5,7 @@ use specs::prelude::*;
use crate::{
components::{CharRender, MobAction, Mobile, Player, Position},
game::{DungeonLevel, DungeonTile},
level::{DungeonLevel, DungeonTile},
quit,
};

View file

@ -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,
};