Beispiel #1
0
 static void Main(string[] args)
 {
     Game game = new Game(
         PresentationFactory.CreateUserInterface(),
         InfrastructureFactory.CreateWriteFile(),
         InfrastructureFactory.CreateReadFile());
     game.Start();
 }
Beispiel #2
0
 public CallBack(Game game, IWriteFile writeFile, IReadFile readFile)
 {
     this._game = game;
     this._writeFile = writeFile;
     this._readFile = readFile;
 }