From 62138ca19acdef140359745ebee41be5e4c5ce09 Mon Sep 17 00:00:00 2001 From: troido Date: Tue, 11 Feb 2020 01:53:05 +0100 Subject: health is now also shown (but never changed) --- src/components.rs | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/components.rs') 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 +} + -- cgit