C# Class Cascade.Controls

Afficher le fichier Open project: RIT-Tool-Time/Cascade Class Usage Examples

Méthodes publiques

Свойство Type Description
ScreenSize Vector2
controlMode int
jump bool
mouse Microsoft.Xna.Framework.Input.MouseState
mouseCB3 int
mouseLB3 int
mousePos Vector2
mouseRB3 int

Méthodes publiques

Méthode Description
Controls ( ) : System
GetButton ( Buttons b ) : ControlState
GetButtonReleaseTime ( Buttons b ) : int
GetButtonTime ( Buttons b ) : int
GetKey ( Keys k ) : ControlState
GetKeyReleaseTime ( Keys k ) : int
GetKeyTime ( Keys k ) : int
getButton ( Buttons b ) : int
getButton ( String b ) : int
getButtonReleaseTime ( String s ) : int
getButtonTime ( String s ) : int
getKey ( Keys k ) : int
getKey ( String s ) : int
getKeyReleaseTime ( String s ) : int
getKeyTime ( String s ) : int
update ( ) : void
vibrate ( float intensity, float speed ) : void

Private Methods

Méthode Description
addButton ( Buttons b ) : void
addKey ( Keys k ) : void
intToState ( int i ) : ControlState

Method Details

Controls() public méthode

public Controls ( ) : System
Résultat System

GetButton() public static méthode

public static GetButton ( Buttons b ) : ControlState
b Buttons
Résultat ControlState

GetButtonReleaseTime() public static méthode

public static GetButtonReleaseTime ( Buttons b ) : int
b Buttons
Résultat int

GetButtonTime() public static méthode

public static GetButtonTime ( Buttons b ) : int
b Buttons
Résultat int

GetKey() public static méthode

public static GetKey ( Keys k ) : ControlState
k Keys
Résultat ControlState

GetKeyReleaseTime() public static méthode

public static GetKeyReleaseTime ( Keys k ) : int
k Keys
Résultat int

GetKeyTime() public static méthode

public static GetKeyTime ( Keys k ) : int
k Keys
Résultat int

getButton() public méthode

public getButton ( Buttons b ) : int
b Buttons
Résultat int

getButton() public méthode

public getButton ( String b ) : int
b String
Résultat int

getButtonReleaseTime() public méthode

public getButtonReleaseTime ( String s ) : int
s String
Résultat int

getButtonTime() public méthode

public getButtonTime ( String s ) : int
s String
Résultat int

getKey() public méthode

public getKey ( Keys k ) : int
k Keys
Résultat int

getKey() public méthode

public getKey ( String s ) : int
s String
Résultat int

getKeyReleaseTime() public méthode

public getKeyReleaseTime ( String s ) : int
s String
Résultat int

getKeyTime() public méthode

public getKeyTime ( String s ) : int
s String
Résultat int

update() public méthode

public update ( ) : void
Résultat void

vibrate() public méthode

public vibrate ( float intensity, float speed ) : void
intensity float
speed float
Résultat void

Property Details

ScreenSize public_oe static_oe property

public static Vector2 ScreenSize
Résultat Vector2

controlMode public_oe property

public int controlMode
Résultat int

jump public_oe property

public bool jump
Résultat bool

mouse public_oe static_oe property

public static MouseState,Microsoft.Xna.Framework.Input mouse
Résultat Microsoft.Xna.Framework.Input.MouseState

mouseCB3 public_oe property

public int mouseCB3
Résultat int

mouseLB3 public_oe property

public int mouseLB3
Résultat int

mousePos public_oe static_oe property

public static Vector2 mousePos
Résultat Vector2

mouseRB3 public_oe property

public int mouseRB3
Résultat int