private void ViewModel_Down(object sender, EventArgs e) { if (_timerActive) { _model.GoDown(); } }
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); }