void MapInputToAction() { var userAction = inputHandler.ActionMapper; if (userAction.hardDrop) { HandleHardDrop(); } else if (userAction.softDrop) { HandleSoftDrop(); } if (userAction.moveLeft) { ActiveShape.MoveShapeIfValid(Move.Left); } if (userAction.moveRight) { ActiveShape.MoveShapeIfValid(Move.Right); } if (userAction.rotate) { ActiveShape.RotateShapeIfValid(); } }