MockGamePad ClassDelta Engine Documentation
Mock game pad for unit testing. View code on GitHub
Inheritance Hierarchy

System Object
  DeltaEngine.Entities UpdateBehavior
    DeltaEngine.Input InputDevice
      DeltaEngine.Input GamePad
        DeltaEngine.Input.Mocks MockGamePad

Namespace: DeltaEngine.Input.Mocks
Assembly: DeltaEngine.Input.Mocks (in DeltaEngine.Input.Mocks.dll) Version: 1.1.1.0 (1.1.1)
Syntax

public sealed class MockGamePad : GamePad

The MockGamePad type exposes the following members.

Constructors

  NameDescription
Public methodMockGamePad
Initializes a new instance of the MockGamePad class
Top
Methods

  NameDescription
Public methodDispose
Releases all resources used by the MockGamePad
(Overrides InputDevice Dispose .)
Public methodGetButtonState (Overrides GamePad GetButtonState(GamePadButton).)
Public methodGetLeftThumbStick (Overrides GamePad GetLeftThumbStick .)
Public methodGetLeftTrigger (Overrides GamePad GetLeftTrigger .)
Public methodGetRightThumbStick (Overrides GamePad GetRightThumbStick .)
Public methodGetRightTrigger (Overrides GamePad GetRightTrigger .)
Public methodSetGamePadState
Public methodSetUnavailable
Public methodUpdate (Inherited from GamePad.)
Protected methodUpdateGamePadStates (Overrides GamePad UpdateGamePadStates .)
Public methodVibrate (Overrides GamePad Vibrate(Single).)
Top
Properties

  NameDescription
Public propertyIsAvailable (Overrides InputDevice IsAvailable.)
Protected propertyNumber (Inherited from GamePad.)
Top
See Also