public void OnPlayerExited() { room.Hide(); for (int i = 0; i < edges.Length; i++) { edges[i].OnPlayerExited(); } }
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(); } }
public void OnPlayerExited() { for (int i = 0; i < edges.Length; i++) { if (edges [i] != null) { edges [i].OnPlayerExited(); } } room.Hide(); }