Make import style more consistent
This commit is contained in:
parent
bf0166f97c
commit
c4db6f5932
@ -187,5 +187,5 @@ pub struct SerializeMe;
|
||||
// Special component that exists to help serialize the game data
|
||||
#[derive(Component, Serialize, Deserialize, Clone)]
|
||||
pub struct SerializationHelper {
|
||||
pub map: super::map::Map,
|
||||
pub map: crate::map::Map,
|
||||
}
|
||||
|
@ -1,6 +1,5 @@
|
||||
use crate::components::*;
|
||||
use crate::particle_system::ParticleBuilder;
|
||||
use crate::{game_log::GameLog, Map};
|
||||
use crate::{game_log::GameLog, particle_system::ParticleBuilder, Map};
|
||||
use rltk::RGB;
|
||||
use specs::prelude::*;
|
||||
|
||||
|
@ -1,7 +1,6 @@
|
||||
use rltk::{GameState, Point, Rltk};
|
||||
use specs::prelude::*;
|
||||
use specs::saveload::{SimpleMarker, SimpleMarkerAllocator};
|
||||
extern crate serde;
|
||||
|
||||
mod components;
|
||||
mod damage_system;
|
||||
|
@ -1,4 +1,4 @@
|
||||
use super::{BlocksTile, Map, Position};
|
||||
use crate::{BlocksTile, Map, Position};
|
||||
use specs::prelude::*;
|
||||
|
||||
pub struct MapIndexingSystem {}
|
||||
|
@ -1,8 +1,4 @@
|
||||
use crate::components::{
|
||||
AreaOfEffect, BlocksTile, CombatStats, Confusion, Consumable, DefenseBonus, EquipmentSlot,
|
||||
Equippable, InflictsDamage, Item, MeleePowerBonus, Monster, Name, Player, Position,
|
||||
ProvidesHealing, Ranged, Renderable, SerializeMe, Viewshed,
|
||||
};
|
||||
use crate::components::*;
|
||||
use crate::{map::MAP_WIDTH, random_table::RandomTable, Rect};
|
||||
use rltk::{RandomNumberGenerator, RGB};
|
||||
use specs::prelude::*;
|
||||
|
@ -1,4 +1,4 @@
|
||||
use super::{Map, Player, Position, Viewshed};
|
||||
use crate::{Map, Player, Position, Viewshed};
|
||||
use rltk::{field_of_view, Point};
|
||||
use specs::prelude::*;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user