Beispiel #1
0
 public Intervals(MainModel main, InputViewVM input, Score.Score score)
 {
     this._main  = main;
     this._input = input;
     this._score = score;
     _random     = new Random();
     _timeLeft   = _time;
 }
Beispiel #2
0
 public MainModel(InputViewVM input)
 {
     _switches   = new Dictionary <int, ISwitchRail>();
     _warehouses = new Dictionary <Symbols, Warehouse>();
     _docks      = new List <Dock>();
     _carts      = new List <Cart>();
     _ships      = new List <Ship>();
     _input      = input;
 }
Beispiel #3
0
 public MainView(OutputViewVM output)
 {
     Console.Title = "Goudkoorts";
     _input        = new InputViewVM(output);
 }
Beispiel #4
0
 public MainView(OutputViewVM output)
 {
     input = new InputViewVM(output, this);
 }
Beispiel #5
0
 private void StartGame(MainModel main, InputViewVM input)
 {
     _intervals = new Intervals(main, input, _score);
     _intervals.Start();
 }
Beispiel #6
0
 private void CreateCounter(MainModel main, InputViewVM input)
 {
     _lockdown = new Lockdown(main, input);
     _lockdown.Start();
 }
Beispiel #7
0
 public Lockdown(MainModel mainModel, InputViewVM input)
 {
     _main    = mainModel;
     _input   = input;
     _counter = _time;
 }