Beispiel #1
0
 private void ViewModel_Down(object sender, EventArgs e)
 {
     if (_timerActive)
     {
         _model.GoDown();
     }
 }
Beispiel #2
0
        public void TetrisDownMovement()
        {
            _model.NewGame();
            var pos1 = _model.table.ShapeCordY;

            for (int i = 0; i < 30; i++)
            {
                _model.GoDown();
            }
            Assert.IsTrue(_model.table.Time >= 0);
        }