Refactored locks for rooms to be more versatile by giving them their own type.

This commit is contained in:
Max 2025-01-29 12:02:00 +01:00
parent 7bec7c539d
commit d79d6216f0
13 changed files with 85 additions and 53 deletions

View file

@ -0,0 +1,15 @@
using Unity.VisualScripting;
using UnityEngine;
public class MatchingDiceLock : Lock
{
public override bool CheckIfKeyFits(DicePair dicePair)
{
if (dicePair.CheckIfResultsMatch())
{
return true;
}
return false;
}
}