C# Class ToyBox.InputManager

Inheritance: Microsoft.Xna.Framework.GameComponent, IInputService, IUpdateable, IDisposable
Afficher le fichier Open project: jlyonsmith/ToyBox

Méthodes publiques

Méthode Description
GetAllValidKeys ( ) : Keys[]
GetGamePad ( PlayerIndex playerIndex ) : IGamePad
GetKeyboard ( ) : IKeyboard
GetKeyboard ( PlayerIndex playerIndex ) : IKeyboard
GetMouse ( ) : IMouse
GetTouchPanel ( ) : ITouchPanel
InputManager ( Microsoft.Xna.Framework.Game game ) : System
InputManager ( Microsoft.Xna.Framework.Game game, Keys keysWanted ) : System
Update ( GameTime time ) : void

Méthodes protégées

Méthode Description
Dispose ( bool disposing ) : void

Private Methods

Méthode Description
SetupGamePads ( ) : void
SetupKeyboards ( ) : void
SetupMouse ( ) : void
SetupTouchPanels ( ) : void

Method Details

Dispose() protected méthode

protected Dispose ( bool disposing ) : void
disposing bool
Résultat void

GetAllValidKeys() public static méthode

public static GetAllValidKeys ( ) : Keys[]
Résultat Keys[]

GetGamePad() public méthode

public GetGamePad ( PlayerIndex playerIndex ) : IGamePad
playerIndex PlayerIndex
Résultat IGamePad

GetKeyboard() public méthode

public GetKeyboard ( ) : IKeyboard
Résultat IKeyboard

GetKeyboard() public méthode

public GetKeyboard ( PlayerIndex playerIndex ) : IKeyboard
playerIndex PlayerIndex
Résultat IKeyboard

GetMouse() public méthode

public GetMouse ( ) : IMouse
Résultat IMouse

GetTouchPanel() public méthode

public GetTouchPanel ( ) : ITouchPanel
Résultat ITouchPanel

InputManager() public méthode

public InputManager ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
Résultat System

InputManager() public méthode

public InputManager ( Microsoft.Xna.Framework.Game game, Keys keysWanted ) : System
game Microsoft.Xna.Framework.Game
keysWanted Keys
Résultat System

Update() public méthode

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