示例#1
0
        public List <Minion> LoadMinions()
        {
            var meleeMinion = new Minion("Melee Minion", 455, 2, 12, 0, 0, 20, 59);

            meleeMinion.BlueImageURL = "https://vignette.wikia.nocookie.net/leagueoflegends/images/6/65/Blue_Melee_MinionSquare.png/revision/latest/scale-to-width-down/48?cb=20140731204557";
            meleeMinion.RedImageURL  = "https://vignette.wikia.nocookie.net/leagueoflegends/images/e/ea/Red_Melee_MinionSquare.png/revision/latest/scale-to-width-down/48?cb=20140731204552";

            var casterMinion = new Minion("Caster Minion", 308, 1, 22, 0, 0, 17, 29);

            casterMinion.BlueImageURL = "https://vignette.wikia.nocookie.net/leagueoflegends/images/f/fa/Blue_Caster_MinionSquare.png/revision/latest/scale-to-width-down/48?cb=20140731204553";
            casterMinion.RedImageURL  = "https://vignette.wikia.nocookie.net/leagueoflegends/images/1/10/Red_Caster_MinionSquare.png/revision/latest/scale-to-width-down/48?cb=20140731204552";

            var siegeMinion = new Minion("Siege Minion", 805, 1, 40, 0, 0, 45, 92);

            siegeMinion.BlueImageURL = "https://vignette.wikia.nocookie.net/leagueoflegends/images/6/6c/Blue_Siege_MinionSquare.png/revision/latest/scale-to-width-down/48?cb=20140731204558";
            siegeMinion.RedImageURL  = "https://vignette.wikia.nocookie.net/leagueoflegends/images/c/c1/Red_Siege_MinionSquare.png/revision/latest/scale-to-width-down/48?cb=20140731204553";

            var superMinion = new Minion("Super Minion", 2000, 1, 190, 30, -30, 40, 97);

            superMinion.BlueImageURL = "https://vignette.wikia.nocookie.net/leagueoflegends/images/4/4a/Blue_Super_MinionSquare.png/revision/latest/scale-to-width-down/48?cb=20140731204557";
            superMinion.RedImageURL  = "https://vignette.wikia.nocookie.net/leagueoflegends/images/0/04/Red_Super_MinionSquare.png/revision/latest/scale-to-width-down/48?cb=20140731204553";

            MeleeMinion  = meleeMinion;
            CasterMinion = casterMinion;
            SiegeMinion  = siegeMinion;
            SuperMinion  = superMinion;

            MinionList.Add(meleeMinion);
            MinionList.Add(casterMinion);
            MinionList.Add(siegeMinion);
            MinionList.Add(superMinion);

            return(MinionList);
        }
示例#2
0
 public void InsertMinionToField(Minion minion)
 {
     //Pimero vemos si hay espacio para minions
     if (this.MaxMinions >= this.ActualMinions)
     {
         MinionList.Add(minion);
         this.ActualMinions++;
     }
 }
 public void AddMinion(NPC minion)
 {
     MinionList.Add(minion);
 }
 internal void AddMinion(NPC minion)
 {
     MinionList.Add(minion);
 }