added player argument to ship class