diff options
| author | troido <troido@protonmail.com> | 2020-05-12 21:51:37 +0200 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-05-12 21:51:37 +0200 |
| commit | 1b380b31f50035f10f651e220effe8a2970c0fd5 (patch) | |
| tree | 5a25b839a4ee70ba96f7f096161ea59c08842492 /src/components | |
| parent | 6c5b15758fbceef7987b40ee50a71ddc9624372d (diff) | |
removed 'substitute' part of encyclopedia
Diffstat (limited to 'src/components')
| -rw-r--r-- | src/components/mod.rs | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/components/mod.rs b/src/components/mod.rs index 394284a..ee5176e 100644 --- a/src/components/mod.rs +++ b/src/components/mod.rs @@ -253,3 +253,15 @@ pub struct Minable { pub total: i64, pub trigger: Trigger } + +#[derive(Component, Debug, Clone)] +pub struct OnSpawn { + pub trigger: Trigger +} + + +#[derive(Component, Debug, Clone)] +pub struct Substitute { + pub into: Template +} + |
