
public class Pirate {
	
	private double experience;
	private ResourcesManager resourcesManager;
	private String ship;
	private String name;
	private double gold;

}


public class Pirate {
	
	private double experience;
	private ResourcesManager resourcesManager;
	private Ship ship;
	private String name;
	private double gold;

}

Fix ship type