PuzzleMeasurement, add Realm, door ExitedFrom event
This commit is contained in:
@@ -9,5 +9,12 @@ namespace EscapeRoomEngine.Engine.Runtime.Modules
|
||||
public string puzzleName;
|
||||
[InfoBox("Puzzle measurements will only be combined for the same puzzle with the same version. If large changes are made to the puzzle that might influence its measurements, the version should be incremented.")]
|
||||
public int puzzleVersion = 1;
|
||||
|
||||
public int Id => puzzleName.GetHashCode() + puzzleVersion;
|
||||
|
||||
public override string ToString()
|
||||
{
|
||||
return $"{puzzleName} v{puzzleVersion} ({Id})";
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user