} | } | ||||
private char goToRocket(View view) { | private char goToRocket(View view) { | ||||
int rowDifference = findRocketRow(view) - 2; | |||||
int rowDifference = findRocketRow(view) - (view.width / 2); | |||||
return rowDifference < 0 ? '^' : '<'; | return rowDifference < 0 ? '^' : '<'; | ||||
} | } | ||||