imports to lib.rs, creating unit tests

This commit is contained in:
Llywelwyn 2023-08-31 01:20:21 +01:00
parent 568df55795
commit 3464e9447c
13 changed files with 697 additions and 639 deletions

View file

@ -19,7 +19,7 @@ use crate::{
Name,
ObfuscatedName,
Renderable,
State,
states::state::*,
};
use rltk::prelude::*;
use specs::prelude::*;

View file

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

View file

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