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

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