Ejemplo n.º 1
0
        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);
            }
        }
Ejemplo n.º 2
0
        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);
                }
            }
        }
Ejemplo n.º 3
0
 public WakeUpGroup(String name)
 {
     WakeUpTaunts = new List <WakeUpTaunt>();
     Name         = name;
     DefaultStyle = new Style(Name, FightStyleEnum.American);
 }