diff options
Diffstat (limited to 'src/components/mod.rs')
| -rw-r--r-- | src/components/mod.rs | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/components/mod.rs b/src/components/mod.rs index 3b0167d..6fae490 100644 --- a/src/components/mod.rs +++ b/src/components/mod.rs @@ -22,7 +22,8 @@ use crate::{ controls::Control, Template, playerstate::RoomPos, - attack::Attack + attack::Attack, + Timestamp }; #[derive(Debug, Clone)] @@ -167,7 +168,7 @@ pub struct Fighter { pub struct Healing { pub delay: i64, pub health: i64, - pub next_heal: Option<i64> + pub next_heal: Option<Timestamp> } @@ -175,7 +176,7 @@ pub struct Healing { #[storage(HashMapStorage)] pub struct Volatile { pub delay: i64, - pub end_time: Option<i64> + pub end_time: Option<Timestamp> } #[derive(Component, Debug, Clone)] |
