public Pilot(string[] row) { this.shipMetaData = new ShipMetaData(); this.name = row[Convert.ToInt32(Meta.EXCEL_SHEET_PILOT.PILOT_NAME)]; this.shipType = row[Convert.ToInt32(Meta.EXCEL_SHEET_PILOT.SHIP_TYPE)]; this.availability = row[Convert.ToInt32(Meta.EXCEL_SHEET_PILOT.AVAILABILITY)]; this.pilotAbility = row[Convert.ToInt32(Meta.EXCEL_SHEET_PILOT.PILOT_ABILITY)]; setPilotSkill(row[Convert.ToInt32(Meta.EXCEL_SHEET_PILOT.PILOT_SKILL)]); setUnique(row[Convert.ToInt32(Meta.EXCEL_SHEET_PILOT.UNIQUE)]); setFaction(row[Convert.ToInt32(Meta.EXCEL_SHEET_PILOT.FACTION)]); setSquadPointCost(row[Convert.ToInt32(Meta.EXCEL_SHEET_PILOT.SQUAD_POINT_COST)]); // pass on to the next constructor setShipMetaData(row); }
private void setShipMetaData(string[] row) { this.shipMetaData = new ShipMetaData(row); }
public Pilot() { this.shipMetaData = new ShipMetaData(); }