refactor Desert assembly into Station46
This commit is contained in:
@@ -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++;
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user