Пример #1
0
 public Userinteraction(OopCar car, Logic logic, ShellEvents shellEvents, Shell shell, TimeService timeService, Scoreboard scoreboard, Fall_Drow figures)
 {
     _car         = car;
     _logic       = logic;
     _shellEvents = shellEvents;
     _shell       = shell;
     _scoreboard  = scoreboard;
     _figures     = figures;
 }
Пример #2
0
        public Logic(OopCar car, Fall_Drow figures, Shell shell, ShellEvents shellEvents, Scoreboard scoreboard, CarDecrease carDecrease,
                     GameData gameData, GameDataService gameDataService, Lazy <IEnumerable <IAddition> > items)
        {
            _car             = car;
            _figures         = figures;
            _shell           = shell;
            _shellEvents     = shellEvents;
            _scoreboard      = scoreboard;
            _carDecrease     = carDecrease;
            _gameData        = gameData;
            _gameDataService = gameDataService;
            _additions       = items;


            //FullStop = false;
            //ShellFly = false;
            //gameOver = false;
            //Pause = false;
            //field = new char[12, 18];
        }