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

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