Пример #1
0
        public Tempete(Unite u, bool useMana = true)
            : base(u)
        {
            idSort         = 7;
            Cooldown       = 5;
            Ticks          = 200;
            CoutMana       = 50;
            Animation      = PackAnimation.Explosion();
            AnimationReset = PackAnimation.Explosion();
            Tiles          = new Vector2(320 / 5, 320 / 5);

            NeedUnPoint  = false;
            SpriteBouton = PackTexture.boutons[13];
            SpriteEffect = PackTexture.sorts[0];
            sonSort      = new EffetSonore(PackSon.Explosion);

            description1 = new Text("DescriptionTempete1");
            description2 = new Text("DescriptionTempete2");
        }
Пример #2
0
        public Explosion(Unite u, bool useMana = true)
            : base(u)
        {
            idSort         = 1;
            Cooldown       = 2;
            Ticks          = 1;
            CoutMana       = 10;
            Animation      = PackAnimation.Explosion();
            AnimationReset = PackAnimation.Explosion();
            Tiles          = new Vector2(320 / 5, 320 / 5);

            NeedUnPoint  = true;
            SpriteBouton = PackTexture.boutons[0];
            SpriteEffect = PackTexture.sorts[0];
            sonSort      = new EffetSonore(PackSon.Explosion);

            description1 = new Text("DescriptionExplosion1");
            description2 = new Text("DescriptionExplosion2");
            description3 = new Text("DescriptionExplosion3");
        }