Example #1
0
        public static void Main(string[] args)
        {
            Core.AnimalCentre animalCentre = new Core.AnimalCentre();
            var engine = new Engine(animalCentre);

            engine.Run();
        }
Example #2
0
        public static void Main(string[] args)
        {
            var animalCentre       = new Core.AnimalCentre();
            var commandInterpreter = new CommandInterpreter(animalCentre);
            var engine             = new Engine(commandInterpreter, animalCentre);

            engine.Run();
        }
Example #3
0
 public Engine()
 {
     this.animalCentre = new AnimalCentre();
 }
Example #4
0
 public Engine()
 {
     this.animalCentre   = new AnimalCentre();
     this.adoptedAnimals = new Dictionary <string, List <string> >();
 }
Example #5
0
 public Engine()
 {
     this.zoo = new AnimalCentre();
 }
Example #6
0
 public Engine()
 {
     this.isRunning    = true;
     this.animalCentre = new AnimalCentre();
 }
Example #7
0
 public Engine(AnimalCentre animalCentre)
 {
     this.animalCentre = animalCentre;
     this.isRunning    = true;
 }