make ModuleState abstract to avoid trouble with the type of reference to its Module

This commit is contained in:
2022-11-21 11:36:32 +01:00
parent b0df3f303a
commit d3abb8569c
4 changed files with 4 additions and 19 deletions

View File

@@ -15,7 +15,7 @@ namespace EscapeRoomEngine.Engine.Runtime.Modules
{
public event DoorEventHandler DoorEvent;
private new DoorModule Module { get; set; }
private DoorModule Module { get; set; }
public bool Unlocked
{
get => _unlocked;