C# Class WarTornLands.Direction

Inheritance: InputKey
Datei anzeigen Open project: floAr/WarTornLands Class Usage Examples

Public Methods

Method Description
Direction ( ) : System
Held ( ) : int
SetMode ( int mode ) : void
Update ( GameTime gt, KeyboardState oldKeys ) : void

Private Methods

Method Description
CalcGamePad ( GameTime gt ) : Vector2
CalcKeyboard ( GameTime gt ) : Vector2

Method Details

Direction() public method

public Direction ( ) : System
return System

Held() public method

public Held ( ) : int
return int

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