C# Class Danmaku_no_Kyojin.Controls.InputHandler

Inheritance: Microsoft.Xna.Framework.GameComponent
Show file Open project: Noxalus/Danmaku-no-Kyojin

Public Methods

Method Description
ButtonDown ( Buttons button, PlayerIndex index ) : bool
ButtonPressed ( Buttons button, PlayerIndex index ) : bool
ButtonReleased ( Buttons button, PlayerIndex index ) : bool
Flush ( ) : void
GetPressedButton ( PlayerIndex index ) : Buttons[]
GetPressedKeys ( ) : Keys[]
HavePressedButton ( PlayerIndex index ) : bool
HavePressedKey ( ) : bool
Initialize ( ) : void
InputHandler ( Microsoft.Xna.Framework.Game game ) : System
KeyDown ( Keys key ) : bool
KeyPressed ( Keys key ) : bool
KeyReleased ( Keys key ) : bool
PressedAction ( ) : bool
PressedCancel ( ) : bool
PressedDown ( ) : bool
PressedLeft ( ) : bool
PressedRight ( ) : bool
PressedUp ( ) : bool
Scroll ( ) : bool
ScrollDown ( ) : bool
ScrollUp ( ) : bool
Update ( GameTime gameTime ) : void

Method Details

ButtonDown() public static method

public static ButtonDown ( Buttons button, PlayerIndex index ) : bool
button Buttons
index PlayerIndex
return bool

ButtonPressed() public static method

public static ButtonPressed ( Buttons button, PlayerIndex index ) : bool
button Buttons
index PlayerIndex
return bool

ButtonReleased() public static method

public static ButtonReleased ( Buttons button, PlayerIndex index ) : bool
button Buttons
index PlayerIndex
return bool

Flush() public static method

public static Flush ( ) : void
return void

GetPressedButton() public static method

public static GetPressedButton ( PlayerIndex index ) : Buttons[]
index PlayerIndex
return Buttons[]

GetPressedKeys() public static method

public static GetPressedKeys ( ) : Keys[]
return Keys[]

HavePressedButton() public static method

public static HavePressedButton ( PlayerIndex index ) : bool
index PlayerIndex
return bool

HavePressedKey() public static method

public static HavePressedKey ( ) : bool
return bool

Initialize() public method

public Initialize ( ) : void
return void

InputHandler() public method

public InputHandler ( Microsoft.Xna.Framework.Game game ) : System
game Microsoft.Xna.Framework.Game
return System

KeyDown() public static method

public static KeyDown ( Keys key ) : bool
key Keys
return bool

KeyPressed() public static method

public static KeyPressed ( Keys key ) : bool
key Keys
return bool

KeyReleased() public static method

public static KeyReleased ( Keys key ) : bool
key Keys
return bool

PressedAction() public static method

public static PressedAction ( ) : bool
return bool

PressedCancel() public static method

public static PressedCancel ( ) : bool
return bool

PressedDown() public static method

public static PressedDown ( ) : bool
return bool

PressedLeft() public static method

public static PressedLeft ( ) : bool
return bool

PressedRight() public static method

public static PressedRight ( ) : bool
return bool

PressedUp() public static method

public static PressedUp ( ) : bool
return bool

Scroll() public static method

public static Scroll ( ) : bool
return bool

ScrollDown() public static method

public static ScrollDown ( ) : bool
return bool

ScrollUp() public static method

public static ScrollUp ( ) : bool
return bool

Update() public method

public Update ( GameTime gameTime ) : void
gameTime Microsoft.Xna.Framework.GameTime
return void