summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authortroido <troido@protonmail.com>2020-03-02 22:28:03 +0100
committertroido <troido@protonmail.com>2020-03-02 22:28:03 +0100
commit22168c8eedac95fdfde9a536a1d1f6ddf622cfa1 (patch)
tree6870bff418367fc635d64b58b3921d85ee0dbbb0 /src/components
parent27c0795fb70739ce5609a0f424d80491d4a8c5a1 (diff)
added purgatory
Diffstat (limited to 'src/components')
-rw-r--r--src/components/mod.rs5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/components/mod.rs b/src/components/mod.rs
index 2759144..8c0e6c6 100644
--- a/src/components/mod.rs
+++ b/src/components/mod.rs
@@ -135,7 +135,7 @@ pub struct Entered;
#[derive(Default, Component, Debug, Clone)]
#[storage(NullStorage)]
-pub struct Dying;
+pub struct Dead;
#[derive(Component, Debug, Clone)]
#[storage(HashMapStorage)]
@@ -194,5 +194,8 @@ pub struct Home {
pub home: Pos
}
+#[derive(Component, Debug, Clone, Default)]
+pub struct Mortal;
+