1
0
Fork 0

Clean up modules and their use statements in the main file

This commit is contained in:
Timothy Warren 2021-11-03 16:04:36 -04:00
parent 14895dac8f
commit c6abd497a1
1 changed files with 18 additions and 17 deletions

View File

@ -2,29 +2,30 @@ use rltk::{GameState, Point, Rltk};
use specs::prelude::*;
mod components;
pub use components::*;
mod map;
pub use map::*;
mod player;
use player::*;
mod rect;
pub use rect::Rect;
mod visibility_system;
use visibility_system::VisibilitySystem;
mod monster_ai_system;
use monster_ai_system::MonsterAI;
mod map_indexing_system;
use map_indexing_system::MapIndexingSystem;
mod melee_combat_system;
use melee_combat_system::MeleeCombatSystem;
mod damage_system;
use damage_system::DamageSystem;
mod gamelog;
mod gui;
pub use gamelog::GameLog;
mod inventory_system;
mod map;
mod map_indexing_system;
mod melee_combat_system;
mod monster_ai_system;
mod player;
mod rect;
mod spawner;
mod visibility_system;
pub use components::*;
use damage_system::DamageSystem;
pub use gamelog::GameLog;
use inventory_system::{ItemCollectionSystem, PotionUseSystem};
pub use map::*;
use map_indexing_system::MapIndexingSystem;
use melee_combat_system::MeleeCombatSystem;
use monster_ai_system::MonsterAI;
use player::*;
pub use rect::Rect;
use visibility_system::VisibilitySystem;
pub const MAP_SIZE: usize = 80 * 50;