refactor Desert assembly into Station46

This commit is contained in:
2023-03-22 09:13:07 +01:00
parent 9c65d24685
commit e1bfecbd4b
67 changed files with 54 additions and 2326 deletions

View File

@@ -40,7 +40,7 @@ namespace EscapeRoomEngine.Engine.Runtime
public int NumberOfRooms => _rooms.Count;
public IOption<Room> CurrentRoom => NumberOfRooms > 0 ? Some<Room>.Of(_rooms[^1]) : None<Room>.New();
/// <summary>
/// The currendly estimated time for the player to finish the experience.
/// The currently estimated time for the player to finish the experience.
/// </summary>
public float EstimatedTimeRemaining { get; private set; }
@@ -126,7 +126,7 @@ namespace EscapeRoomEngine.Engine.Runtime
}
exit = new Passage(exitDoor);
// add puzzle
// add puzzle
if (space.AddModuleWithRequirements(Module.CreateModuleByType(space, puzzle)))
{
puzzlesAdded++;

View File

@@ -55,7 +55,7 @@ namespace EscapeRoomEngine.Engine.Runtime
Engine.Theme.minRoomSize.ProjectAtFloor(),
Engine.Theme.playSpace.ProjectAtFloor());
// connect the space to its passage
// connect the space to its entrance passage
entrance.PlaceEntrance(new DoorModule(this,
((DoorModuleDescription)entrance.fromOut.description).connectedDoorDescription));
Modules.Add(entrance.toIn);