isHit method for the spaceship