C# Class Infiniminer.KeyBindHandler

Afficher le fichier Open project: bobisfat/Infiniminer

Méthodes publiques

Méthode Description
BindKey ( Buttons button, string key, bool overwrite ) : bool
CreateDefaultSet ( ) : void
GetBound ( Keys theKey ) : Buttons
GetBound ( MouseButton theButton ) : Buttons
IsBound ( Buttons button, Keys theKey ) : bool
IsBound ( Buttons button, MouseButton mb ) : bool
IsPressed ( Buttons button ) : bool
SaveBinds ( Infiniminer.DatafileWriter output, string filename ) : void

Method Details

BindKey() public méthode

public BindKey ( Buttons button, string key, bool overwrite ) : bool
button Buttons
key string
overwrite bool
Résultat bool

CreateDefaultSet() public méthode

public CreateDefaultSet ( ) : void
Résultat void

GetBound() public méthode

public GetBound ( Keys theKey ) : Buttons
theKey Keys
Résultat Buttons

GetBound() public méthode

public GetBound ( MouseButton theButton ) : Buttons
theButton MouseButton
Résultat Buttons

IsBound() public méthode

public IsBound ( Buttons button, Keys theKey ) : bool
button Buttons
theKey Keys
Résultat bool

IsBound() public méthode

public IsBound ( Buttons button, MouseButton mb ) : bool
button Buttons
mb MouseButton
Résultat bool

IsPressed() public méthode

public IsPressed ( Buttons button ) : bool
button Buttons
Résultat bool

SaveBinds() public méthode

public SaveBinds ( Infiniminer.DatafileWriter output, string filename ) : void
output Infiniminer.DatafileWriter
filename string
Résultat void