C# Class Infiniminer.KeyBindHandler

Datei anzeigen Open project: bobisfat/Infiniminer

Public Methods

Method 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 method

public BindKey ( Buttons button, string key, bool overwrite ) : bool
button Buttons
key string
overwrite bool
return bool

CreateDefaultSet() public method

public CreateDefaultSet ( ) : void
return void

GetBound() public method

public GetBound ( Keys theKey ) : Buttons
theKey Keys
return Buttons

GetBound() public method

public GetBound ( MouseButton theButton ) : Buttons
theButton MouseButton
return Buttons

IsBound() public method

public IsBound ( Buttons button, Keys theKey ) : bool
button Buttons
theKey Keys
return bool

IsBound() public method

public IsBound ( Buttons button, MouseButton mb ) : bool
button Buttons
mb MouseButton
return bool

IsPressed() public method

public IsPressed ( Buttons button ) : bool
button Buttons
return bool

SaveBinds() public method

public SaveBinds ( Infiniminer.DatafileWriter output, string filename ) : void
output Infiniminer.DatafileWriter
filename string
return void