示例#1
0
文件: Maze.cs 项目: RimiDev/Pacman
 void OnPacmanWon()
 {
     if (PacmanWon != null)
     {
         PacmanWon.Invoke();
     }
 }
示例#2
0
 /// <summary>
 /// Event raise when Pacman wins
 /// </summary>
 protected void OnPacmanWon()
 {
     //temporary for this phase
     PacmanWon?.Invoke(null);
     Console.WriteLine("Won");
 }