Exemplo n.º 1
0
 public Bee(BeePrototype source)//конструктор-копії
 {
     Name       = source.Name;
     Product    = source.Product;
     BeeType    = source.BeeType;
     Conditions = source.Conditions;
     Gens       = source.Gens;
     Effects    = source.Effects;
     Image      = source.Image;
 }
Exemplo n.º 2
0
            public void ConcretePrototype(BeePrototype b)//transmit of fields from prototype
            {
                Bee b_ = b as Bee;

                Product    = b_.Product;
                BeeType    = b_.beeType;
                Conditions = b_.Conditions;
                Gens       = b_.Gens;
                Effects    = b_.Effects;
                Image      = b_.Image;
            }
Exemplo n.º 3
0
 public Bee ConvertPrototype(BeePrototype clone)
 {
     return(new Bee(clone));
 }
Exemplo n.º 4
0
 public void AddBee(BeePrototype bee)//Add 1 bee to the List
 {
     standartBees.Add(new Bee(bee));
 }