x and y calculations are now in ship class