public void Unlock() { _locked = false; PlayerLocked?.Invoke(null, null, _locked, _volume); Console.WriteLine("Player is unlocked"); }
public void Lock() { _locked = true; PlayerLocked?.Invoke(null, null, _locked, _volume); Console.WriteLine("Player is locked"); }