public PlayerModel GetPlayer() { if (occupyingShip != null) { if (occupyingShip.GetType() == typeof(PlayerModel)) { return((PlayerModel)occupyingShip); } } return(null); }