Beispiel #1
0
 public GameScreen(TerminalIO io,
                   Localizer localizer,
                   HelpBoard helpBoard,
                   ScoreBoard scoreBoard,
                   Glass glass) : base(io, localizer)
 {
     _scoreBoard = scoreBoard;
     _helpBoard  = helpBoard;
     _glass      = glass;
 }
Beispiel #2
0
 public TetrisService(TerminalIO io,
                      Localizer localizer,
                      InitScreen initScreen,
                      SplashScreen splashScreen,
                      GameScreen gameScreen,
                      LeaderBoardScreen leaderBoardScreen)
     : base(io, localizer)
 {
     _initScreen        = initScreen;
     _splashScreen      = splashScreen;
     _gameScreen        = gameScreen;
     _leaderBoardScreen = leaderBoardScreen;
 }
Beispiel #3
0
 public SplashScreen(TerminalIO io,
                     Localizer localizer) : base(io, localizer)
 {
 }
Beispiel #4
0
 public Glass(TerminalIO io, Localizer localizer) : base(io, localizer)
 {
 }
Beispiel #5
0
 public ScoreBoard(TerminalIO io, Localizer localizer) : base(io, localizer)
 {
 }
Beispiel #6
0
 public InitScreen(TerminalIO io,
                   Localizer localizer) : base(io, localizer)
 {
 }
Beispiel #7
0
 protected BaseComponent(TerminalIO io, Localizer localizer)
 {
     IO   = io;
     Text = localizer;
 }
Beispiel #8
0
 public LeaderBoardScreen(TerminalIO io,
                          Localizer localizer) : base(io, localizer)
 {
     _leaderBoard = new List <LeaderBoardItem>();
 }
Beispiel #9
0
 public HelpBoard(TerminalIO io, Localizer localizer) : base(io, localizer)
 {
 }