Ejemplo n.º 1
0
    public void Button_Num(SKillName num)
    {
        switch (num)
        {
        case SKillName.Punch_1:
            Punch_1();
            break;

        case SKillName.Punch_2:
            Punch_2();
            break;

        case SKillName.Punch_3:
            Punch_3();
            break;

        case SKillName.Kick_1:
            Kick_1();
            break;

        case SKillName.Kick_2:
            Kick_2();
            break;

        case SKillName.Kick_3:
            Kick_3();
            break;

        case SKillName.Fire:
            Fire();
            break;

        case SKillName.Lightning:
            Lighting();
            break;

        case SKillName.Water:
            Water();
            break;

        case SKillName.Exposive:
            Explosive();
            break;

        case SKillName.Kaioken:
            Kaioken();
            break;

        case SKillName.Finish:
            Finish();
            break;

        case SKillName.NONE:
            break;

        default:
            break;
        }
    }
Ejemplo n.º 2
0
 public Skill(Skill skill)
 {
     this.skillName  = skill.skillName;
     this.skillImage = skill.skillImage;
     this.skillGrade = skill.skillGrade;
     this.weight     = skill.weight;
     this.Cool       = skill.Cool;
     this.isTrue     = skill.isTrue;
 }