diff options
author | Griffin Smith <root@gws.fyi> | 2019-07-29T15·22-0400 |
---|---|---|
committer | Griffin Smith <root@gws.fyi> | 2019-07-29T15·22-0400 |
commit | 9db5fad2f900732d59f9714ac4517952d26506d7 (patch) | |
tree | 1f8de240a1f7ccecd37282b0f984e1d0a7d38000 /src/entities/environment.rs | |
parent | 34b20b7786a8f6753bb449425772958e0285c385 (diff) |
Describe what you see when you walk over it
If the character walks over any number of entities, describe those entities to the character.
Diffstat (limited to 'src/entities/environment.rs')
-rw-r--r-- | src/entities/environment.rs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/entities/environment.rs b/src/entities/environment.rs index 64366a505496..042873ec5a12 100644 --- a/src/entities/environment.rs +++ b/src/entities/environment.rs @@ -10,6 +10,8 @@ entity! { } } +static_description!(Wall, "a wall"); + impl Wall { pub fn new(position: Position, style: BoxStyle) -> Self { new_entity!(Wall { position, style }) |