예제 #1
0
 public MusicSetupController(string genre = "")
 {
     if (genre == "")
     {
         genre = ChooseGenre();
     }
     Genre           = genre;
     _musicConverter = new MusicConverter();
 }
예제 #2
0
 public GameProcessor(IEnumerable <IProcessor> processors, ImageConverter imageConverter,
                      MusicConverter musicConverter,
                      HeaderRenderer headerRenderer,
                      IWriter writer, ItemManager items, BobConverter bobConverter, SpriteRenderer spriteRenderer)
 {
     _processors     = processors;
     _imageConverter = imageConverter;
     _musicConverter = musicConverter;
     _headerRenderer = headerRenderer;
     _writer         = writer;
     _items          = items;
     _bobConverter   = bobConverter;
     _spriteRenderer = spriteRenderer;
 }