add draw function to ship class