static private GetGamePad ( int playerIndex ) : Gamepad | ||
playerIndex | int | Player index from 0 to 3 inclusive |
Résultat | Gamepad |
internal static Gamepad GetGamePad(int playerIndex)
{
var gpad = gamepads[playerIndex];
return gpad;
}
/// <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)); }