public override void Initialize()
        {
            base.Initialize();

            input = Services.GetService <InputManager>();
            input.TextInput?.EnabledTextInput();

            graphicsDeviceService = Services.GetService <IGraphicsDeviceService>();
        }
Beispiel #2
0
        internal static void Initialize(StrideInputManager input)
        {
            if (!initialized)
            {
                initialized = true;

                // Setup the engine's input manager ref
                StrideInputManager = input;
            }
        }
Beispiel #3
0
 private IGamePadDevice GetGamePad(InputManager manager)
 {
     return(PadIndex >= 0 ? manager.GetGamePadByIndex(PadIndex) : manager.DefaultGamePad);
 }
Beispiel #4
0
 public override void Initialize(InputManager inputManager)
 {
 }