Ejemplo n.º 1
0
        public Lion(IAnimalSpawner spawner, Gender gender)
            : base(gender, 25.0)
        {
            if (spawner == null)
            {
                throw new ArgumentNullException("spawner");
            }

            this.spawner = spawner;
        }
Ejemplo n.º 2
0
        public Lion(IAnimalSpawner spawner, Gender gender)
            : base(gender, 25.0)
        {
            if (spawner == null)
            {
                throw new ArgumentNullException("spawner");
            }

            this.spawner = spawner;
        }
Ejemplo n.º 3
0
 public Rabbit(IAnimalSpawner spawner, Gender gender)
     : base(gender, 7.5)
 {
     this.spawner = spawner;
 }
Ejemplo n.º 4
0
 public Rabbit(IAnimalSpawner spawner, Gender gender)
     : base(gender, 7.5)
 {
     this.spawner = spawner;
 }