C# Class Project290.Inputs.RumblePack

This is used for rumbling the physical controller.
ファイルを表示 Open project: scastle/Solitude Class Usage Examples

Public Methods

Method Description
Rumble ( float left, float right, long duration ) : void

Rumbles the controller for the specified forces for the specified duration in ticks.

RumblePack ( PlayerIndex playerIndex ) : System

Initializes a new instance of the RumblePack class.

Update ( ) : void

Updates this instance.

Method Details

Rumble() public method

Rumbles the controller for the specified forces for the specified duration in ticks.
public Rumble ( float left, float right, long duration ) : void
left float The left motor force.
right float The right motor force.
duration long The duration in ticks.
return void

RumblePack() public method

Initializes a new instance of the RumblePack class.
public RumblePack ( PlayerIndex playerIndex ) : System
playerIndex PlayerIndex The playerIndex.
return System

Update() public method

Updates this instance.
public Update ( ) : void
return void