public GameplaySceneBase(string sceneID)
            : base(sceneID)
        {
            _inputProcessor = Input.TouchControls.CreateController();

            _motionController = new MotionController();
            _animationController = new AnimationController();
            _timerController = new TimerController();

            _pauseController = new PauseController();
            _pauseController.AddPausableObject(_timerController);
            _pauseController.AddPausableObject(_animationController);

            _cameraController = new Bopscotch.Gameplay.Controllers.PlayerTrackingCameraController();
            _cameraController.Viewport = new Rectangle(0, 0, Definitions.Back_Buffer_Width, Definitions.Back_Buffer_Height);
            _cameraController.ScrollBoundaryViewportFractions = new Vector2(Definitions.Horizontal_Scroll_Boundary_Fraction, Definitions.Vertical_Scroll_Boundary_Fraction);

            Renderer.ClipOffCameraRendering(_cameraController, Camera_Clipping_Margin);

            _playerCollisionController = new OneToManyCollisionController();

            _opaqueParticleEffectManager = new OpaqueLayerParticleEffectManager(_cameraController);
            _additiveParticleEffectManager = new AdditiveLayerParticleEffectManager(_cameraController);

            _levelFactory = new Bopscotch.Gameplay.LevelFactory(RegisterGameObject, _timerController.RegisterUpdateCallback);

            _smashBlockItemFactory = new Effects.SmashBlockItems.SmashBlockItemFactory(RegisterGameObject, _timerController.RegisterUpdateCallback);

            _speedometer = new Bopscotch.Gameplay.Objects.Display.Speedometer();
            _playerEventPopup = new Bopscotch.Gameplay.Objects.Display.PlayerEventPopup();

            _objectWithGlowEffect = new List<ICanHaveGlowEffect>();
        }
        public ContentSceneWithControlDialog()
            : base()
        {
            _motionController = new MotionController();

            Overlay = new FullScreenColourOverlay();
        }
        public EditorScene()
            : base(1600, 900)
        {
            _inputHandler = new InputHandler()
            {
                StartMouseAction = StartMouseAction,
                CancelMouseAction = CancelMouseAction,
                CompleteMouseAction = CompleteMouseAction
            };

            _cameraController = new MobileCameraController();
            _motionController = new MotionController();

            CreateControls();
            CreateModalBoxes();

            Data.Container.RegisterComponent = RegisterGameObject;
            Data.Container.UnregisterComponent = UnregisterGameObject;

            _selected = null;
            _activeModalBox = null;
        }
 public MenuDialogScene()
     : base()
 {
     _motionController = new MotionController();
     _dialogs = new Dictionary<string, Interface.Dialogs.ButtonDialog>();
 }