示例#1
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GamePadState"/> struct.
 /// </summary>
 public GamePadState(
     bool isConnected,
     GamePadThumbSticks thumbSticks,
     GamePadTriggers triggers,
     GamePadButtons buttons,
     GamePadDPad dPad)
 {
     this.IsConnected = isConnected;
     this.ThumbSticks = thumbSticks;
     this.Triggers    = triggers;
     this.Buttons     = buttons;
     this.DPad        = dPad;
 }
示例#2
0
 /// <summary>
 /// Initializes a new instance of the <see cref="GamePadState"/> struct.
 /// </summary>
 public GamePadState(
     bool isConnected,
     GamePadThumbSticks thumbSticks,
     GamePadTriggers triggers,
     GamePadButtons buttons,
     GamePadDPad dPad)
 {
     this.IsConnected = isConnected;
     this.ThumbSticks = thumbSticks;
     this.Triggers = triggers;
     this.Buttons = buttons;
     this.DPad = dPad;
 }