C# Class Gravitation.Input.ControlConfig

Show file Open project: thedamoes/Gravitation

Public Methods

Method Description
ControlConfig ( ) : System
actionKeys ( KeyboardState state, KeyboardState prevState ) : void
registerIsNownKey ( Keys key, handelKey func ) : void
registerIsUpAndWasDown ( Keys key, handelKey func ) : void
registerXBOXButtonIsDownAndWasUp ( Buttons button, handelKey func ) : void
registerXBOXButtonPress ( Buttons button, handelKey func ) : void
registerXBOXButtonPress ( XBOXControllerAnalog button, handelAnalog func ) : void

Method Details

ControlConfig() public method

public ControlConfig ( ) : System
return System

actionKeys() public method

public actionKeys ( KeyboardState state, KeyboardState prevState ) : void
state Microsoft.Xna.Framework.Input.KeyboardState
prevState Microsoft.Xna.Framework.Input.KeyboardState
return void

registerIsNownKey() public method

public registerIsNownKey ( Keys key, handelKey func ) : void
key Keys
func handelKey
return void

registerIsUpAndWasDown() public method

public registerIsUpAndWasDown ( Keys key, handelKey func ) : void
key Keys
func handelKey
return void

registerXBOXButtonIsDownAndWasUp() public method

public registerXBOXButtonIsDownAndWasUp ( Buttons button, handelKey func ) : void
button Buttons
func handelKey
return void

registerXBOXButtonPress() public method

public registerXBOXButtonPress ( Buttons button, handelKey func ) : void
button Buttons
func handelKey
return void

registerXBOXButtonPress() public method

public registerXBOXButtonPress ( XBOXControllerAnalog button, handelAnalog func ) : void
button XBOXControllerAnalog
func handelAnalog
return void