Esempio n. 1
0
        public void InitializeTopDownInput(FlatRedBall.Input.IInputDevice inputDevice)
        {
            this.MovementInput = inputDevice.Default2DInput;
            this.InputDevice   = inputDevice;
            InputEnabled       = true;

            CustomInitializeTopDownInput();
        }
Esempio n. 2
0
        public void InitializePlatformerInput(FlatRedBall.Input.IInputDevice inputDevice)
        {
            this.JumpInput       = inputDevice.DefaultPrimaryActionInput;
            this.HorizontalInput = inputDevice.DefaultHorizontalInput;
            this.VerticalInput   = inputDevice.DefaultVerticalInput;
            this.InputDevice     = inputDevice;

            InputEnabled = true;
            CustomInitializePlatformerInput();
        }