imports to lib.rs, creating unit tests
This commit is contained in:
parent
568df55795
commit
3464e9447c
13 changed files with 697 additions and 639 deletions
|
|
@ -19,7 +19,7 @@ use crate::{
|
|||
Name,
|
||||
ObfuscatedName,
|
||||
Renderable,
|
||||
State,
|
||||
states::state::*,
|
||||
};
|
||||
use rltk::prelude::*;
|
||||
use specs::prelude::*;
|
||||
|
|
|
|||
|
|
@ -27,12 +27,12 @@ use super::{
|
|||
Prop,
|
||||
Renderable,
|
||||
RunState,
|
||||
states::state::*,
|
||||
Skill,
|
||||
Skills,
|
||||
State,
|
||||
Viewshed,
|
||||
BUC,
|
||||
get_local_col,
|
||||
data::ids::get_local_col,
|
||||
};
|
||||
use crate::data::entity::CARRY_CAPACITY_PER_STRENGTH;
|
||||
use crate::data::visuals::{ TARGETING_LINE_COL, TARGETING_CURSOR_COL, TARGETING_AOE_COL, TARGETING_VALID_COL };
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ use super::{
|
|||
ItemMenuResult,
|
||||
UniqueInventoryItem,
|
||||
};
|
||||
use crate::{ gamelog, Beatitude, Entity, Equipped, InBackpack, Item, Name, Renderable, State, BUC };
|
||||
use crate::{ gamelog, Beatitude, Entity, Equipped, InBackpack, Item, Name, Renderable, states::state::*, BUC };
|
||||
use rltk::prelude::*;
|
||||
use specs::prelude::*;
|
||||
use std::collections::BTreeMap;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue