示例#1
0
 public Game(ICodeGenerator generator, GameStatus gameStatus, GameInputValidator validator)
 {
     _codeGenerator = generator;
     code           = _codeGenerator.Generate();
     _gameStatus    = gameStatus;
     _validator     = validator;
 }