C# Class WarTornLands.Infrastructure.InputManager

Inheritance: Microsoft.Xna.Framework.GameComponent
Afficher le fichier Open project: floAr/WarTornLands

Méthodes publiques

Méthode Description
SetMapping ( Microsoft key, InputKey inputKey ) : bool
Subscribe ( Key key, EventHandler &handler ) : void
Unsubscribe ( Key key, EventHandler &handler ) : void
Update ( GameTime gt ) : void
this ( String keyName ) : InputKey

Private Methods

Méthode Description
InputManager ( Microsoft.Xna.Framework.Game game ) : System
RegisterControlSheet ( ControlSheet _inputSheet ) : void

Method Details

SetMapping() public méthode

public SetMapping ( Microsoft key, InputKey inputKey ) : bool
key Microsoft
inputKey WarTornLands.Infrastructure.Systems.InputSystem.InputKey
Résultat bool

Subscribe() public méthode

public Subscribe ( Key key, EventHandler &handler ) : void
key WarTornLands.Infrastructure.Systems.InputSystem.Key
handler EventHandler
Résultat void

Unsubscribe() public méthode

public Unsubscribe ( Key key, EventHandler &handler ) : void
key WarTornLands.Infrastructure.Systems.InputSystem.Key
handler EventHandler
Résultat void

Update() public méthode

public Update ( GameTime gt ) : void
gt Microsoft.Xna.Framework.GameTime
Résultat void

this() public méthode

public this ( String keyName ) : InputKey
keyName String
Résultat WarTornLands.Infrastructure.Systems.InputSystem.InputKey