comment pass

This commit is contained in:
2022-12-29 16:16:49 +01:00
parent 643e03192a
commit ff01a700bd
75 changed files with 634 additions and 65 deletions

View File

@@ -8,12 +8,18 @@ using LogType = EscapeRoomEngine.Engine.Runtime.Utilities.LogType;
namespace EscapeRoomEngine.Engine.Runtime
{
/// <summary>
/// A room manages an entrance to its first space and exit from its last space. It is also responsible for instantiating all spaces in it.
/// </summary>
public class Room
{
internal Passage entrance, exit;
internal GameObject roomObject;
internal readonly List<PuzzleModule> puzzles = new();
/// <summary>
/// Return whether this room is the last room of the experience, determined by whether this room has an exit.
/// </summary>
internal bool LastRoom => exit == null;
private readonly List<Space> _spaces = new();