summaryrefslogtreecommitdiff
path: root/src/components.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.rs')
-rw-r--r--src/components.rs11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/components.rs b/src/components.rs
index 34dbe97..5bd6ddd 100644
--- a/src/components.rs
+++ b/src/components.rs
@@ -45,6 +45,17 @@ pub struct Blocking;
pub struct Floor;
#[derive(Component, Debug, Clone)]
+pub struct New;
+
+#[derive(Component, Debug, Clone)]
+pub struct Removed;
+
+#[derive(Component, Debug, Clone)]
+pub struct Moved {
+ pub from: Pos
+}
+
+#[derive(Component, Debug, Clone)]
#[storage(HashMapStorage)]
pub struct Player {
pub name: String,