diff options
author | Griffin Smith <root@gws.fyi> | 2019-08-03T19·59-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-08-04T00·31-0400 |
commit | 48fb3f6624b95e9b18a5ff0a814573445c6bc2ab (patch) | |
tree | 441a8f04c3e64fd8e3559bab85bab8e0b45789ff /src/entities/entity_char.rs | |
parent | 82cefedab9e44b48f4d3cc08b0f6e002ae383c9d (diff) |
Add inventory, and the ability to pick up items
Add inventory as a basic vector of items attached to the character, and the ability to pick up a single item where the character stands
Diffstat (limited to 'src/entities/entity_char.rs')
-rw-r--r-- | src/entities/entity_char.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/entities/entity_char.rs b/src/entities/entity_char.rs index 88ca8a55a823..70f26bfffdbd 100644 --- a/src/entities/entity_char.rs +++ b/src/entities/entity_char.rs @@ -2,7 +2,7 @@ use crate::display::color::Color; use std::fmt::{self, Display, Formatter}; use termion::color; -#[derive(Debug, Deserialize)] +#[derive(Debug, Deserialize, PartialEq, Eq)] pub struct EntityChar { #[serde(default)] color: Color, |