C# Class PlatformerPOC.Helpers.KeyboardUtils

Helper class for keyboard input.
Afficher le fichier Open project: bramdemoor/MonoGame-PlatformerPOC Class Usage Examples

Méthodes publiques

Méthode Description
KeyToString ( Keys key, bool shitKeyPressed, char &character ) : bool

Gets a character from key information.

Private Methods

Méthode Description
AddKeyMap ( Keys key, string charPair ) : void

 Added key and character map.

InitializeKeyMap ( ) : void

Initialize character map.

KeyboardUtils ( ) : System

Method Details

KeyToString() public static méthode

Gets a character from key information.
public static KeyToString ( Keys key, bool shitKeyPressed, char &character ) : bool
key Keys Pressing key
shitKeyPressed bool Is shift key pressed?
character char Converted character from key input.
Résultat bool