doc ExitInstance

This commit is contained in:
Max Bradbury 2020-06-29 18:29:42 +01:00
parent c46d6837b9
commit 9ece613a95
1 changed files with 2 additions and 0 deletions

View File

@ -45,6 +45,8 @@ pub struct Instance {
id: String, // item / ending id id: String, // item / ending id
} }
/// a Room can have many Exits in different positions,
/// optionally with a transition and dialogue
#[derive(Clone, Debug, Eq, PartialEq)] #[derive(Clone, Debug, Eq, PartialEq)]
pub struct ExitInstance { pub struct ExitInstance {
position: Position, position: Position,