C# Class WarTornLands.Key

Inheritance: InputKey
Mostrar archivo Open project: floAr/WarTornLands Class Usage Examples

Public Methods

Method Description
Held ( ) : int
Key ( ) : System
SetActivator ( Buttons button ) : void
SetActivator ( Keys key ) : void
SetMode ( int mode ) : void
Update ( GameTime gt, KeyboardState oldKeys ) : void

Method Details

Held() public method

public Held ( ) : int
return int

Key() public method

public Key ( ) : System
return System

SetActivator() public method

public SetActivator ( Buttons button ) : void
button Buttons
return void

SetActivator() public method

public SetActivator ( Keys key ) : void
key Keys
return void

SetMode() public method

public SetMode ( int mode ) : void
mode int
return void

Update() public method

public Update ( GameTime gt, KeyboardState oldKeys ) : void
gt Microsoft.Xna.Framework.GameTime
oldKeys Microsoft.Xna.Framework.Input.KeyboardState
return void