public WorldTimeInputHandler(WorldTimeRendererState worldTimeRendererState)
        {
            worldTimeRendererState.ThrowIfNull("worldTimeRenderer");

            _worldTimeRendererState = worldTimeRendererState;
            _keyboardStateHelper = new KeyboardStateHelper(
                KeyDown,
                null,
                null,
                Constants.WorldTimeRenderer.Input.PauseKey,
                Constants.WorldTimeRenderer.Input.FasterKey,
                Constants.WorldTimeRenderer.Input.SlowerKey);
        }
Esempio n. 2
0
        public WorldTime(WorldTimeRendererState worldTimeRendererState)
        {
            worldTimeRendererState.ThrowIfNull("worldTimeRendererState");

            _worldTimeRendererState = worldTimeRendererState;
        }