implement ship::get_xy()