Ejemplo n.º 1
0
    private void FoxTurn(int xFoxPos, int yFoxPos)
    {
        MoveState moveState = boardScript.IsMoveAllowed(xFoxPos, yFoxPos, firstMove);

        var xCurrentPos = (int)boardScript.Fox.transform.position.x;
        var yCurrentPos = (int)boardScript.Fox.transform.position.y;

        switch (moveState)
        {
        case MoveState.NOT_ALLOWED:
        case MoveState.OBLIGATORY:
            NotificationTextUpdate(moveState);
            break;

        case MoveState.NORMAL:
            NotificationTextUpdate(moveState);
            moveset.Add("FOX", new Coordinate(xCurrentPos, yCurrentPos), new Coordinate(xFoxPos, yFoxPos), MoveState.NORMAL);
            MoveFox(xFoxPos, yFoxPos);
            UpdateScore(moveState);
            break;

        case MoveState.JUMP:
            NotificationTextUpdate(moveState);
            moveset.Add("FOX", new Coordinate(xCurrentPos, yCurrentPos), new Coordinate(xFoxPos, yFoxPos), MoveState.JUMP);
            JumpFox(xFoxPos, yFoxPos);
            UpdateScore(moveState);
            break;
        }
    }
Ejemplo n.º 2
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(8, new Headbutt(true)));
     Moveset.Add(new MovesetItem(13, new Disarm(true)));
     Moveset.Add(new MovesetItem(16, new Teleport(true)));
     Moveset.Add(new MovesetItem(22, new NetherPunch(true)));
 }
Ejemplo n.º 3
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(8, new Bite(true)));
     Moveset.Add(new MovesetItem(13, new Roundhouse(true)));
     Moveset.Add(new MovesetItem(16, new SeismicChop(true)));
     Moveset.Add(new MovesetItem(22, new Meditate(true)));
 }
Ejemplo n.º 4
0
        public void DefineSkills(int numSkills, Skill newSkill)
        {
            Random selector = new Random();

            if (numSkills > 3)
            {
                numSkills = 3;
            }
            if (numSkills <= 0)
            {
                numSkills = 1;
            }

            if (Moveset.Count == 0 && newSkill is AttackSkill)
            {
                Moveset.Add(newSkill);
            }
            else if (Moveset.Count != 0 && Moveset.Count < numSkills)
            {
                Moveset.Add(newSkill);
            }
            else if (Moveset.Count == 0 && newSkill is SupportSkill)
            {
                AttackSkill remplaceSkill = new AttackSkill("basicPunch", selector.Next(1, 11), selector.Next(0, 7));
                Moveset.Add(remplaceSkill);
            }
        }
Ejemplo n.º 5
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(13, new Gust(true)));
     Moveset.Add(new MovesetItem(19, new Bite(true)));
     Moveset.Add(new MovesetItem(23, new EvasiveManeuvers(true)));
     Moveset.Add(new MovesetItem(32, new DiveBomb(true)));
 }
Ejemplo n.º 6
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(6, new Zap(true)));
     Moveset.Add(new MovesetItem(7, new ChargeUp(true)));
     Moveset.Add(new MovesetItem(25, new StaticShock(true)));
     Moveset.Add(new MovesetItem(33, new Lightning(true)));
 }
Ejemplo n.º 7
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(6, new IronCharge(true)));
     Moveset.Add(new MovesetItem(8, new Forge(true)));
     Moveset.Add(new MovesetItem(12, new Gear(true)));
     Moveset.Add(new MovesetItem(16, new Slice(true)));
 }
Ejemplo n.º 8
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(6, new GrassWhip(true)));
     Moveset.Add(new MovesetItem(8, new Bite(true)));
     Moveset.Add(new MovesetItem(12, new Leech(true)));
     Moveset.Add(new MovesetItem(15, new Sunshine(true)));
 }
Ejemplo n.º 9
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(8, new Headbutt(true)));
     Moveset.Add(new MovesetItem(13, new Lullaby(true)));
     Moveset.Add(new MovesetItem(16, new PsychicBlast(true)));
     //Moveset.Add(new MovesetItem(22, new Karma(true)));
 }
Ejemplo n.º 10
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(8, new Crave(true)));
     Moveset.Add(new MovesetItem(13, new Forgiveness(true)));
     Moveset.Add(new MovesetItem(16, new SparkleStrike(true)));
     Moveset.Add(new MovesetItem(22, new Wish(true)));
     //Moveset.Add(new MovesetItem(30, new Sunshine(true)));
     //Moveset.Add(new MovesetItem(30, new Heatwave(true)));
 }
Ejemplo n.º 11
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(6, new Singe(true)));
     Moveset.Add(new MovesetItem(8, new Curl(true)));
     Moveset.Add(new MovesetItem(12, new FlameSpin(true)));
 }
Ejemplo n.º 12
0
        public Fox()
        {
            Name = "Fox";

            Moveset.Add(new Move(MoveType.NeutralAttack, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.ForwardTilt, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.UpTilt, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.DownTilt, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.DashAttack, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.ForwardSmash, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.UpSmash, "Flip Kick", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.DownSmash, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.NeutralAerial, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.ForwardAerial, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.BackAerial, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.UpAerial, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.DownAerial, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.Grab, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.Pummel, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.ForwardThrow, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.BackThrow, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.UpThrow, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.DownThrow, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.FloorAttackFront, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.FloorAttackBack, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.EdgeAttackFast, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.EdgeAttackSlow, "", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.NeutralSpecial, "Blaster", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.SideSpecial, "Fox Illusion", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.UpSpecial, "Fire Fox", "", new List <Int32>()
            {
                4, 4, 1
            }));
            Moveset.Add(new Move(MoveType.DownSpecial, "Reflector", "", new List <Int32>()
            {
                4, 4, 1
            }));
        }
Ejemplo n.º 13
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(7, new Drench(true)));
     Moveset.Add(new MovesetItem(25, new Torrent(true)));
     Moveset.Add(new MovesetItem(33, new HydroJet(true)));
 }
Ejemplo n.º 14
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(19, new IceFang(true)));
     Moveset.Add(new MovesetItem(23, new FrostBreath(true)));
     Moveset.Add(new MovesetItem(32, new MeteorStrike(true)));
 }
Ejemplo n.º 15
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(13, new Harden(true)));
     Moveset.Add(new MovesetItem(16, new RockFall(true)));
     Moveset.Add(new MovesetItem(22, new BoulderSlam(true)));
 }
Ejemplo n.º 16
0
 public override void MoveSetup()
 {
     Moveset.Add(new MovesetItem(5, new Poke(true)));
     Moveset.Add(new MovesetItem(7, new Curl(true)));
     Moveset.Add(new MovesetItem(15, new Drowsy(true)));
 }