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