예제 #1
0
    public void UseKey(bool bossKey = false)
    {
        if (!bossKey)
        {
            KeyCount--;
        }
        else
        {
            HasBossKey = false;
        }

        OnKeyRemoved?.Invoke(this, EventArgs.Empty);
    }
예제 #2
0
 internal static void RunKeyRemoved(string key) => OnKeyRemoved?.Invoke(key);