예제 #1
0
 public void OnPlayerExited()
 {
     room.Hide();
     for (int i = 0; i < edges.Length; i++)
     {
         edges[i].OnPlayerExited();
     }
 }
예제 #2
0
 public void OnPlayerExited(MazeDirection direction)
 {
     role = "Empty";
     room.Hide();
     foreach (Patrol listener in patrolListeners)
     {
         listener.React(new IntVec2(-1, -1));
     }
 }
    /// <summary>
    /// Player exited a cell.
    /// </summary>
    public void OnPlayerExited()
    {
        Room.Hide();

        foreach (MazeCellEdge edge in _edges)
        {
            edge.OnPlayerExited();
        }
    }
예제 #4
0
 public void OnPlayerExited()
 {
     for (int i = 0; i < edges.Length; i++)
     {
         if (edges [i] != null)
         {
             edges [i].OnPlayerExited();
         }
     }
     room.Hide();
 }