move collision detection to ship