Click or drag to resize
ControllerPlayer Class
Represents interactions between the game and a player via a joystick/gamepad
Inheritance Hierarchy
SystemObject
  (Default Namespace)ControllerPlayer

Namespace: (Default Namespace)
Assembly: Default (in Default.exe) Version: 1.0.0.0
Syntax
C#
[SerializableAttribute]
public class ControllerPlayer : IPlayer

The ControllerPlayer type exposes the following members.

Constructors
  NameDescription
Public methodControllerPlayer
Constructs a player object that links input from the specified game controller device to game input.
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
Fields
  NameDescription
Public fieldbuttonMap
Array of 4 integers mapping controller button numbers to player button inputs.
Public fielddeviceNumber
Top
Properties
  NameDescription
Public propertyButton1
See Button1.
Public propertyButton2
See Button2.
Public propertyButton3
See Button3.
Public propertyButton4
See Button4.
Public propertyDown
See Down.
Public propertyLeft
See Left.
Public propertyMyController
Public propertyRight
See Right.
Public propertyUp
See Up.
Top
See Also