Example #1
0
 protected virtual void TurnBegin()
 {
     m_Turn++;
     //
     //reset game state
     //
     if (m_WhiteBallPotted)
     {
         Pools.CueBall.Reset();
     }
     if (m_WhiteHitBall)
     {
         GameStatistics.MarkCueballHitNoBall(1);
     }
     m_WhiteHitBall    = false;
     m_WhiteBallPotted = false;
     m_TimeOut         = false;
     if (onNewTurn != null)
     {
         onNewTurn(m_Turn);
     }
 }