diff options
| author | troido <troido@protonmail.com> | 2020-02-14 14:36:32 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-14 14:36:32 +0100 |
| commit | 4a4cdf7d148be0a2a756f323d27c0ee5b7976438 (patch) | |
| tree | 7add0a0d735f93cb1fce6ae4f0c476a0d550a3ee /src/components.rs | |
| parent | 7821febc8ee4c89ca1825054e0baf39eea3a0380 (diff) | |
extract the state to save
Diffstat (limited to 'src/components.rs')
| -rw-r--r-- | src/components.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/components.rs b/src/components.rs index 185459a..1f5630d 100644 --- a/src/components.rs +++ b/src/components.rs @@ -88,3 +88,8 @@ pub struct Health { pub maxhealth: i64 } +#[derive(Component, Debug, Clone)] +pub struct Serialise { + pub template: Template +} + |
