private void style_addCritical_Click(object sender, EventArgs e) { if (CheckSelectedMove()) { FaceLockMoves move = (FaceLockMoves)nl_styleBox.SelectedItem; MoveCategory category = ((MoveCategory)nl_Categories.SelectedItem); Skill skill = (Skill)nl_moveResult.SelectedItem; move = UpdateMove(move, skill, category, 3); //Update Style List Data_Classes.Style fightingStyle = ((FaceLockMoves)nl_styleBox.SelectedItem).StyleItem; UpdateStyleList(move, fightingStyle.Name); } }
private void style_addLight_Click(object sender, EventArgs e) { if (CheckSelectedMove()) { try { FaceLockMoves move = (FaceLockMoves)nl_styleBox.SelectedItem; MoveCategory category = ((MoveCategory)nl_Categories.SelectedItem); Skill skill = (Skill)nl_moveResult.SelectedItem; move = UpdateMove(move, skill, category, 0); //Update Style List Data_Classes.Style fightingStyle = ((FaceLockMoves)nl_styleBox.SelectedItem).StyleItem; UpdateStyleList(move, fightingStyle.Name); } catch (Exception exception) { L.D("AddLightStyle Error:" + exception.Message); } } }
public WakeUpGroup(String name) { WakeUpTaunts = new List <WakeUpTaunt>(); Name = name; DefaultStyle = new Style(Name, FightStyleEnum.American); }