예제 #1
0
파일: Program.cs 프로젝트: skeiya/Bowling
 static void Main(string[] args)
 {
     Game game = new Game(
         PresentationFactory.CreateUserInterface(),
         InfrastructureFactory.CreateWriteFile(),
         InfrastructureFactory.CreateReadFile());
     game.Start();
 }
예제 #2
0
파일: CallBack.cs 프로젝트: skeiya/Bowling
 public CallBack(Game game, IWriteFile writeFile, IReadFile readFile)
 {
     this._game = game;
     this._writeFile = writeFile;
     this._readFile = readFile;
 }