C# Class SolutionLecture5.InputManager

Afficher le fichier Open project: Westerdals/PG2200LectureCode2013 Class Usage Examples

Méthodes publiques

Méthode Description
Initialize ( Microsoft.Xna.Framework.Game game ) : void
IsKeyDown ( Keys key ) : bool
IsKeyPressed ( Keys key ) : bool
IsKeyReleased ( Keys key ) : bool
IsKeyUp ( Keys key ) : bool
Update ( GameTime gameTime ) : void

Method Details

Initialize() public méthode

public Initialize ( Microsoft.Xna.Framework.Game game ) : void
game Microsoft.Xna.Framework.Game
Résultat void

IsKeyDown() public méthode

public IsKeyDown ( Keys key ) : bool
key Keys
Résultat bool

IsKeyPressed() public méthode

public IsKeyPressed ( Keys key ) : bool
key Keys
Résultat bool

IsKeyReleased() public méthode

public IsKeyReleased ( Keys key ) : bool
key Keys
Résultat bool

IsKeyUp() public méthode

public IsKeyUp ( Keys key ) : bool
key Keys
Résultat bool

Update() public méthode

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