extract has_position trait

This commit is contained in:
2023-12-25 13:47:15 +01:00
parent bb8a24aa91
commit c0d51f501f
7 changed files with 34 additions and 18 deletions

View File

@@ -6,6 +6,8 @@ use crate::artifacts::Artifact;
#[cfg(test)]
use crate::monster::{Orc, Rat};
use crate::monster::Monster;
#[cfg(test)]
use crate::position::HasPosition;
use crate::position::Position;
pub const LEVEL_WIDTH: usize = 50;