GameClock.Advance C# (CSharp) Метод

Advance() публичный статический Метод

Move the clock forward 1 hour.
public static Advance ( ) : void
Результат void
    public static void Advance()
    {
        for (int i=0; i<60; i++)
        {
            ClockTick();
        }
    }

Usage Example

 private void MakeAnOfflineMove()
 {
     _gameClock.Advance();
     //TODO move manual randomly
     //TODO how to choose manual moves offline
     // 1. Take what he has done in the last n moves as a distribution and pick from it.
     // 2. Continue his last action.
     //TODO record manual moves and perform those same moves against various bot moves
     //   if(_offlineGame.Manual != null)
     //       _offlineGame.MoveManual(SenseThinkActGame.Game.DIRECTION.LEFT);
 }
All Usage Examples Of GameClock::Advance