Example #1
0
 public void HandleEndOfTurn(EventEndOfTurn p_event)
 {
     m_go_to_second_player = !m_go_to_second_player;
     this.Delay (UpdatePositionCamera, 1);
 }
Example #2
0
 public void HandleEndOfTurn(EventEndOfTurn p_event)
 {
     if (m_game_manager == null)
         return;
     ActivePlayer.CleanUp();
     m_current_player = (m_current_player + 1) % m_game_manager.players.Count;
     this.m_remaining_turns -= 1;
     if (m_remaining_turns == 0)
         Suburbia.Bus.FireEvent(new EventEndOfGame());
 }