Exemplo n.º 1
0
        private void Setup()
        {
            Name = "Beam";
            Kind = "Primary";
            energyCostPerSecond = 13f;
            delay         = 10;
            Weight        = 200;
            damage        = 8.0f;
            Value         = 1100;
            Tier          = TierType.Great;
            displaySprite = Game.spriteSheetItemDisplay.GetSubSprite(new Rectangle(400, 0, 100, 100));

            Color color = new Color(0, 0, 128);

            beamModule    = new FriendlyBeamModule(Game, spriteSheet, damage, color);
            isBeam        = true;
            numberOfShots = 1;
        }
Exemplo n.º 2
0
        private void Setup()
        {
            Name = "Advanced Beam";
            Kind = "Primary";
            energyCostPerSecond = 14f;
            delay         = 10;
            Weight        = 200;
            damage        = 8.0f;
            displaySprite = Game.spriteSheetItemDisplay.GetSubSprite(new Rectangle(1100, 0, 100, 100));

            Value = 3200;
            Tier  = TierType.Excellent;
            Color color = new Color(79, 255, 73);

            beamModule1   = new FriendlyBeamModule(Game, spriteSheet, damage, color);
            beamModule2   = new FriendlyBeamModule(Game, spriteSheet, damage, color);
            isBeam        = true;
            numberOfShots = 2;
        }