void OnPacmanWon() { if (PacmanWon != null) { PacmanWon.Invoke(); } }
/// <summary> /// Event raise when Pacman wins /// </summary> protected void OnPacmanWon() { //temporary for this phase PacmanWon?.Invoke(null); Console.WriteLine("Won"); }
void OnPacmanWon() { if (PacmanWon != null) { PacmanWon.Invoke(); } }
/// <summary> /// Event raise when Pacman wins /// </summary> protected void OnPacmanWon() { //temporary for this phase PacmanWon?.Invoke(null); Console.WriteLine("Won"); }