rename DefaultEngine to be more readable

This commit is contained in:
2022-12-14 20:07:25 +01:00
parent 65b4cecd9b
commit 22458e6d18
16 changed files with 40 additions and 39 deletions

View File

@@ -12,7 +12,7 @@ namespace EscapeRoomEngine.Engine.Runtime
internal Passage(DoorModule from)
{
if (!from.IsExit && !from.description.Equals(Engine.DefaultEngine.theme.spawnDoor))
if (!from.IsExit && !from.description.Equals(Engine.Theme.spawnDoor))
{
throw new WrongTypeException(DoorType.Exit, DoorType.Entrance);
}