Ejemplo n.º 1
0
        public HuntingHornPlayer(int playerNumber, int xPosition, int yHeight, ComboManager comboManager, ThrowManager throwManager, Gauge healthBar)
            : base(playerNumber, xPosition, yHeight, comboManager, throwManager, healthBar)
        {
            CurrentHealth = 1000;
            MaxHealth     = 1000;

            Sprite.BoundingBoxHeight = 288;
            Sprite.BoundingBoxWidth  = 90;

            // TODO make these have to be set for every character.
            //
            ThrowRange     = 200;
            BackAirDashVel = 8;
            AirDashVel     = 13;
            BackStepVel    = 12;
            DashVel        = 11;
            BackWalkVel    = 3;
            WalkVel        = 4;
//            projectile = new ProjectileAnimation(texture, X, Y, Width, Height, Frames, columns, frameLength, characterState, timeLength, direction);
        }
Ejemplo n.º 2
0
        public LongSwordPlayer(int playerNumber, int xPosition, int yHeight, ComboManager comboManager, ThrowManager throwManager, Gauge healthBar)
            : base(playerNumber, xPosition, yHeight, comboManager, throwManager, healthBar)
        {
            CurrentHealth = 1000;

            MaxHealth     = 1000;
            DisplayShadow = false;

            // D mechanic related moves
            //
            SwordLevel = 1;


            SwordGaugeGains = new Dictionary <String, int>();
            MoveCosts       = new Dictionary <String, int>();

            SwordGaugeGains.Add("aattack", 5);
            SwordGaugeGains.Add("battack", 10);
            SwordGaugeGains.Add("cattack", 15);
            SwordGaugeGains.Add("2aattack", 5);
            SwordGaugeGains.Add("2battack", 10);
            SwordGaugeGains.Add("2cattack", 15);
            SwordGaugeGains.Add("jaattack", 5);
            SwordGaugeGains.Add("jbattack", 10);
            SwordGaugeGains.Add("jcattack", 15);
            // MoveCosts.Add("battack", 10);
            MoveCosts.Add("backfireball", 0);

            MoveCosts.Add("rekka", 0);
            MoveCosts.Add("rekkaB", 0);
            MoveCosts.Add("rekkaC", 0);

            Sprite.BoundingBoxHeight = 288;
            Sprite.BoundingBoxWidth  = 90;

            // Essentially how many rekkas we've done
            //
            rekkaLevel = 1;

            // TODO make these have to be set for every character.
            //
            ThrowRange     = 200;
            BackAirDashVel = 8;
            AirDashVel     = 13;
            BackStepVel    = 13;
            DashVel        = 8;
            BackWalkVel    = 3;
            WalkVel        = 4;
//            projectile = new ProjectileAnimation(texture, X, Y, Width, Height, Frames, columns, frameLength, characterState, timeLength, direction);
        }