onHardDrop method

ScoreState onHardDrop(
  1. ScoreState state,
  2. int cells
)

Implementation

ScoreState onHardDrop(ScoreState state, int cells) =>
    state.copyWith(score: state.score + cells * 2);