Esempio n. 1
0
 public Engine(IUnitFactory unitFactory, IResourceFactory resourceFactory,IBuildingFactory buildingFactory, IInputReader reader, IOutputWriter writer, IEmpiresData data)
 {
     this.unitFactory = unitFactory;
     this.resourceFactory = resourceFactory;
     this.buildingFactory = buildingFactory;
     this.reader = reader;
     this.writer = writer;
     this.data = data;
 }
Esempio n. 2
0
 public Engine(IBuildingFactory buildingFactory, IResourceFactory resourceFactory, IUnitFactory unitFactory, IEmpiresData data, IInputReader reader, IOutputWriter writer)
 {
     this.buildingFactory = buildingFactory;
     this.resourceFactory = resourceFactory;
     this.unitFactory     = unitFactory;
     this.data            = data;
     this.reader          = reader;
     this.writer          = writer;
 }