summaryrefslogtreecommitdiff
path: root/src/components.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/components.rs')
-rw-r--r--src/components.rs6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/components.rs b/src/components.rs
index 45c8340..185459a 100644
--- a/src/components.rs
+++ b/src/components.rs
@@ -82,3 +82,9 @@ pub struct Item {
pub name: String
}
+#[derive(Component, Debug, Clone)]
+pub struct Health {
+ pub health: i64,
+ pub maxhealth: i64
+}
+