GetGamePad() static private method

Gets gamepad state.
static private GetGamePad ( int playerIndex ) : Gamepad
playerIndex int Player index from 0 to 3 inclusive
return Gamepad
Esempio n. 1
0
 /// <summary>
 /// Gets player's gamepad
 /// </summary>
 /// <param name="playerIndex">Player index from 0 to 3 inclusivly</param>
 /// <returns></returns>
 public Gamepad  GetGamepad(int playerIndex)
 {
     return(Gamepad.GetGamePad(playerIndex));
 }