Beispiel #1
0
        public TimeController(WorldSimulator worldSimulator)
        {
            _simulator = worldSimulator;

            GenerationsPerSecond = new ReactiveProperty <float>();
            Paused = new ReactiveProperty <bool>();
        }
Beispiel #2
0
 public UIController(WorldSimulator worldSimulator, TimeController timeController, StatsUI statsUI)
 {
     _simulator = worldSimulator;
     _time      = timeController;
     _statsUI   = statsUI;
 }
Beispiel #3
0
 public InputController(WorldSimulator worldSimulator, TimeController timeController, Camera camera)
 {
     _simulator      = worldSimulator;
     _timeController = timeController;
     _camera         = camera;
 }