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