aboutsummaryrefslogtreecommitdiff
path: root/stockton-levels/src/traits/entities.rs
diff options
context:
space:
mode:
authortcmal <me@aria.rip>2024-08-25 17:44:23 +0100
committertcmal <me@aria.rip>2024-08-25 17:44:23 +0100
commit439219e74090c7158f8dbc33fed4107a5eb7c003 (patch)
tree7ba62254b2d888578ff6c1c8de4f0f35c01c75dd /stockton-levels/src/traits/entities.rs
parent04f17923d38171f07f72603a54237f20ca3572dd (diff)
refactor(levels): no longer q3 specific
Diffstat (limited to 'stockton-levels/src/traits/entities.rs')
-rw-r--r--stockton-levels/src/traits/entities.rs14
1 files changed, 0 insertions, 14 deletions
diff --git a/stockton-levels/src/traits/entities.rs b/stockton-levels/src/traits/entities.rs
deleted file mode 100644
index 330ef35..0000000
--- a/stockton-levels/src/traits/entities.rs
+++ /dev/null
@@ -1,14 +0,0 @@
-use std::collections::HashMap;
-use std::iter::Iterator;
-
-#[derive(Debug, Clone, PartialEq)]
-/// A game entity
-pub struct Entity {
- pub attributes: HashMap<String, String>,
-}
-
-pub trait HasEntities {
- type EntitiesIter<'a>: Iterator<Item = &'a Entity>;
-
- fn entities_iter(&self) -> Self::EntitiesIter<'_>;
-}