C# Class FlatRedBall.Input.AnalogStick

A two-axis input device which can return a range of values on both axes.
Inheritance: I2DInput
ファイルを表示 Open project: vchelaru/FlatRedBall Class Usage Examples

Private Properties

Property Type Description
UpdateAccordingToPosition void

Public Methods

Method Description
AsDPadDown ( Xbox360GamePad direction ) : bool
AsDPadPushed ( Xbox360GamePad direction ) : bool
AsDPadPushedRepeatRate ( Xbox360GamePad direction ) : bool
AsDPadPushedRepeatRate ( Xbox360GamePad direction, double timeAfterPush, double timeBetweenRepeating ) : bool
Clear ( ) : void
ToString ( ) : string
Update ( Vector2 newPosition ) : void

Private Methods

Method Description
UpdateAccordingToPosition ( ) : void

Method Details

AsDPadDown() public method

public AsDPadDown ( Xbox360GamePad direction ) : bool
direction Xbox360GamePad
return bool

AsDPadPushed() public method

public AsDPadPushed ( Xbox360GamePad direction ) : bool
direction Xbox360GamePad
return bool

AsDPadPushedRepeatRate() public method

public AsDPadPushedRepeatRate ( Xbox360GamePad direction ) : bool
direction Xbox360GamePad
return bool

AsDPadPushedRepeatRate() public method

public AsDPadPushedRepeatRate ( Xbox360GamePad direction, double timeAfterPush, double timeBetweenRepeating ) : bool
direction Xbox360GamePad
timeAfterPush double
timeBetweenRepeating double
return bool

Clear() public method

public Clear ( ) : void
return void

ToString() public method

public ToString ( ) : string
return string

Update() public method

public Update ( Vector2 newPosition ) : void
newPosition Vector2
return void