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

@@ -33,7 +33,7 @@ namespace EscapeRoomEngine.Engine.Runtime.Modules
public event PuzzleEventHandler PuzzleEvent;
public EngineTheme theme;
private new PuzzleModule Module { get; set; }
protected PuzzleModule Module { get; private set; }
public bool Solved
{
get => _solved;