diff options
| author | troido <troido@protonmail.com> | 2020-02-22 12:55:10 +0100 |
|---|---|---|
| committer | troido <troido@protonmail.com> | 2020-02-22 12:55:10 +0100 |
| commit | 2b0cc677f4092d94b31e95f3e9961ec6ed91327b (patch) | |
| tree | 5c5e4683f5b8c9973ccfb260a876f88b599b0326 /src/worldmessages.rs | |
| parent | a24e17014f37318d08fc8224d38e4062c959f34e (diff) | |
can now pick up specific object from ground
Diffstat (limited to 'src/worldmessages.rs')
| -rw-r--r-- | src/worldmessages.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/worldmessages.rs b/src/worldmessages.rs index 1efe477..c70b8b0 100644 --- a/src/worldmessages.rs +++ b/src/worldmessages.rs @@ -58,13 +58,14 @@ worldmessages!( change, ChangeMessage, "changecells"; inventory, InventoryMessage, "inventory"; health, HealthMessage, "health"; + ground, GroundMessage, "ground"; ); pub type ChangeMessage = Vec<(Pos, Vec<Sprite>)>; pub type HealthMessage = (i64, i64); pub type InventoryMessage = Vec<String>; - +pub type GroundMessage = Vec<String>; #[derive(Debug, Clone, PartialEq, Eq, Hash, Serialize)] pub struct FieldMessage { |
