// Path: src/main/java/net/blerf/ftl/xml/SystemBlueprint.java
// @XmlRootElement(name="systemBlueprint")
// @XmlAccessorType(XmlAccessType.FIELD)
// public class SystemBlueprint {
// 
// 	public static final String ID_PILOT = "pilot";
// 	public static final String ID_DOORS = "doors";
// 	public static final String ID_SENSORS = "sensors";
// 	public static final String ID_MEDBAY = "medbay";
// 	public static final String ID_OXYGEN = "oxygen";
// 	public static final String ID_SHIELDS = "shields";
// 	public static final String ID_ENGINES = "engines";
// 	public static final String ID_WEAPONS = "weapons";
// 	public static final String ID_DRONE_CTRL = "drones";
// 	public static final String ID_TELEPORTER = "teleporter";
// 	public static final String ID_CLOAKING = "cloaking";
// 	public static final String ID_ARTILLERY = "artillery";
// 
// 	public static boolean isSubsystem( String systemId ) {
// 		if ( systemId == null ) return false;
// 		if ( systemId.equals(ID_PILOT) ) return true;
// 		if ( systemId.equals(ID_DOORS) ) return true;
// 		if ( systemId.equals(ID_SENSORS) ) return true;
// 		return false;
// 	}
// 
// 	@XmlAttribute(name="name")
// 	private String id;
// 	private String type, title, desc;
// 	private int startPower, maxPower, rarity;
// 	private UpgradeCost upgradeCost;
// 	private int cost;
// 	@XmlElement(required=false)
// 	private int locked;
// 	
// 	@XmlRootElement(name="upgradeCost")
// 	@XmlAccessorType(XmlAccessType.FIELD)
// 	public static class UpgradeCost {
// 		private List<Integer> level;
// 
// 		public List<Integer> getLevel() {
// 			return level;
// 		}
// 
// 		public void setLevel(List<Integer> level) {
// 			this.level = level;
// 		}
// 	}
// 
// 	public String getId() {
// 		return id;
// 	}
// 
// 	public void setId(String id) {
// 		this.id = id;
// 	}
// 
// 	public String getType() {
// 		return type;
// 	}
// 
// 	public void setType(String type) {
// 		this.type = type;
// 	}
// 
// 	public String getTitle() {
// 		return title;
// 	}
// 
// 	public void setTitle(String title) {
// 		this.title = title;
// 	}
// 
// 	public String getDescription() {
// 		return desc;
// 	}
// 
// 	public void setDescription(String desc) {
// 		this.type = desc;
// 	}
// 
// 	public int getStartPower() {
// 		return startPower;
// 	}
// 
// 	public void setStartPower(int startPower) {
// 		this.startPower = startPower;
// 	}
// 
// 	public int getMaxPower() {
// 		return maxPower;
// 	}
// 
// 	public void setMaxPower(int maxPower) {
// 		this.maxPower = maxPower;
// 	}
// 
// 	public int getRarity() {
// 		return rarity;
// 	}
// 
// 	public void setRarity(int rarity) {
// 		this.rarity = rarity;
// 	}
// 
// 	public UpgradeCost getUpgradeCost() {
// 		return upgradeCost;
// 	}
// 
// 	public void setUpgradeCost(UpgradeCost upgradeCost) {
// 		this.upgradeCost = upgradeCost;
// 	}
// 
// 	public int getCost() {
// 		return cost;
// 	}
// 
// 	public void setCost(int cost) {
// 		this.cost = cost;
// 	}
// 
// 	public int getLocked() {
// 		return locked;
// 	}
// 
// 	public void setLocked(int locked) {
// 		this.locked = locked;
// 	}
// }


import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import net.blerf.ftl.xml.SystemBlueprint;
package net.blerf.ftl.xml;




@XmlRootElement(name="shipBlueprint")
@XmlAccessorType(XmlAccessType.FIELD)
public class ShipBlueprint {
	
	@XmlAttribute(name="name")
	private String id;
	@XmlAttribute
	private String layout;
	@XmlAttribute
	private String img;
	
	@XmlElement(name="class")
	private String shipClass;
	private String name, desc;
	
	private SystemList systemList;
	private Health health;
	private MaxPower maxPower;
	private int weaponSlots, droneSlots;
	
	private Object weaponList, crewCount; // TODO model
	
	@XmlRootElement
	@XmlAccessorType(XmlAccessType.FIELD)
	public static class SystemList {

		@XmlRootElement
		@XmlAccessorType(XmlAccessType.FIELD)
		public static class RoomSlot {
			@XmlElement(required=false)
// Path: src/main/java/net/blerf/ftl/xml/SystemBlueprint.java
// @XmlRootElement(name="systemBlueprint")
// @XmlAccessorType(XmlAccessType.FIELD)
// public class SystemBlueprint {
// 
// 	public static final String ID_PILOT = "pilot";
// 	public static final String ID_DOORS = "doors";
// 	public static final String ID_SENSORS = "sensors";
// 	public static final String ID_MEDBAY = "medbay";
// 	public static final String ID_OXYGEN = "oxygen";
// 	public static final String ID_SHIELDS = "shields";
// 	public static final String ID_ENGINES = "engines";
// 	public static final String ID_WEAPONS = "weapons";
// 	public static final String ID_DRONE_CTRL = "drones";
// 	public static final String ID_TELEPORTER = "teleporter";
// 	public static final String ID_CLOAKING = "cloaking";
// 	public static final String ID_ARTILLERY = "artillery";
// 
// 	public static boolean isSubsystem( String systemId ) {
// 		if ( systemId == null ) return false;
// 		if ( systemId.equals(ID_PILOT) ) return true;
// 		if ( systemId.equals(ID_DOORS) ) return true;
// 		if ( systemId.equals(ID_SENSORS) ) return true;
// 		return false;
// 	}
// 
// 	@XmlAttribute(name="name")
// 	private String id;
// 	private String type, title, desc;
// 	private int startPower, maxPower, rarity;
// 	private UpgradeCost upgradeCost;
// 	private int cost;
// 	@XmlElement(required=false)
// 	private int locked;
// 	
// 	@XmlRootElement(name="upgradeCost")
// 	@XmlAccessorType(XmlAccessType.FIELD)
// 	public static class UpgradeCost {
// 		private List<Integer> level;
// 
// 		public List<Integer> getLevel() {
// 			return level;
// 		}
// 
// 		public void setLevel(List<Integer> level) {
// 			this.level = level;
// 		}
// 	}
// 
// 	public String getId() {
// 		return id;
// 	}
// 
// 	public void setId(String id) {
// 		this.id = id;
// 	}
// 
// 	public String getType() {
// 		return type;
// 	}
// 
// 	public void setType(String type) {
// 		this.type = type;
// 	}
// 
// 	public String getTitle() {
// 		return title;
// 	}
// 
// 	public void setTitle(String title) {
// 		this.title = title;
// 	}
// 
// 	public String getDescription() {
// 		return desc;
// 	}
// 
// 	public void setDescription(String desc) {
// 		this.type = desc;
// 	}
// 
// 	public int getStartPower() {
// 		return startPower;
// 	}
// 
// 	public void setStartPower(int startPower) {
// 		this.startPower = startPower;
// 	}
// 
// 	public int getMaxPower() {
// 		return maxPower;
// 	}
// 
// 	public void setMaxPower(int maxPower) {
// 		this.maxPower = maxPower;
// 	}
// 
// 	public int getRarity() {
// 		return rarity;
// 	}
// 
// 	public void setRarity(int rarity) {
// 		this.rarity = rarity;
// 	}
// 
// 	public UpgradeCost getUpgradeCost() {
// 		return upgradeCost;
// 	}
// 
// 	public void setUpgradeCost(UpgradeCost upgradeCost) {
// 		this.upgradeCost = upgradeCost;
// 	}
// 
// 	public int getCost() {
// 		return cost;
// 	}
// 
// 	public void setCost(int cost) {
// 		this.cost = cost;
// 	}
// 
// 	public int getLocked() {
// 		return locked;
// 	}
// 
// 	public void setLocked(int locked) {
// 		this.locked = locked;
// 	}
// }


// Path: src/main/java/net/blerf/ftl/xml/ShipBlueprint.java
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import net.blerf.ftl.xml.SystemBlueprint;

package net.blerf.ftl.xml;




@XmlRootElement(name="shipBlueprint")
@XmlAccessorType(XmlAccessType.FIELD)
public class ShipBlueprint {
	
	@XmlAttribute(name="name")
	private String id;
	@XmlAttribute
	private String layout;
	@XmlAttribute
	private String img;
	
	@XmlElement(name="class")
	private String shipClass;
	private String name, desc;
	
	private SystemList systemList;
	private Health health;
	private MaxPower maxPower;
	private int weaponSlots, droneSlots;
	
	private Object weaponList, crewCount; // TODO model
	
	@XmlRootElement
	@XmlAccessorType(XmlAccessType.FIELD)
	public static class SystemList {

		@XmlRootElement
		@XmlAccessorType(XmlAccessType.FIELD)
		public static class RoomSlot {
			@XmlElement(required=false)
			private String direction;