public void MoveDown() { if (Mind.CanMoveDown(Playground)) { Playground.MoveDown(); } }
public void Tick() { if (Mind.CanMoveDown(Playground)) { Playground.MoveDown(); } else { Playground.FreezBlock(); var f = Mind.FindFullRow(Playground); while (f.isFullRow) { Playground.RemoveRow(f.index); Score += 10; scored?.Invoke(); f = Mind.FindFullRow(Playground); } InsertBlock(); } }