private void open(SoldierClass soldierClass) { SoldierClass openSoldierClass = ProjectState.setOpenSoldierClass(soldierClass.getInternalName()); setupMenuItemOpen(); tDisplayName.Text = soldierClass.metadata.displayName; tDescription.Text = soldierClass.metadata.description; tIconString.Text = soldierClass.metadata.iconString; tNumInForcedDeck.Text = soldierClass.experience.numberInForcedDeck.ToString(); tNumInDeck.Text = soldierClass.experience.numberInDeck.ToString(); tKillAssistsPerKill.Text = soldierClass.experience.killAssistsPerKill.ToString(); tSquaddieLoadout.Text = soldierClass.equipment.squaddieLoadout; tAllowedArmor.Text = soldierClass.equipment.allowedArmors; BindingList <Weapon> weapons = new BindingList <Weapon>(soldierClass.equipment.weapons); lWeapons.DataSource = weapons; openSoldierStats(soldierClass); openSoldierAbilities(soldierClass); }
private static void deleteClass(SoldierClass soldierClass) { deleteClass(soldierClass.getInternalName()); }
public static string getOpenSoldierClassInternalName() { return(openSoldierClass.getInternalName()); }