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