public void MoveGoalDownwards(bool left) { if (left) { if (leftGoal) { leftGoal.MoveGoalDownwards(); } } else { if (rightGoal) { rightGoal.MoveGoalDownwards(); } } }