示例#1
0
 public void DeveContabilizarTempoDaPartida()
 {
     Assert.AreEqual(0, stats.Duration.Ticks);
     stats.Start();
     Thread.Sleep(50);
     Assert.AreNotEqual(0, stats.Duration.Ticks);
 }
示例#2
0
 public void Start()
 {
     CurrentPiece = CreateRandomBlock();
     NextPiece    = CreateRandomBlock();
     Stats.Start();
     ResetMatrix();
     State = new PlayingState();
     RefreshAsync();
 }