From 9ece613a950f7d1906e82b448b30ee0ec1caa572 Mon Sep 17 00:00:00 2001 From: Max Bradbury Date: Mon, 29 Jun 2020 18:29:42 +0100 Subject: [PATCH] doc ExitInstance --- src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib.rs b/src/lib.rs index 3f44254..75697c4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -45,6 +45,8 @@ pub struct Instance { 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)] pub struct ExitInstance { position: Position,