C# Class fliXNA_xbox.FlxKeyboard

显示文件 Open project: jlorek/flxSharp Class Usage Examples

Public Properties

Property Type Description
buttons Buttons

Public Methods

Method Description
FlxKeyboard ( ) : System
justPressed ( Keys Key ) : bool

Returns true if the specified Key was just pressed

justReleased ( Keys Key ) : bool

Returns true if the specified Key was just released

pressed ( Keys Key ) : bool

Returns true if the specified Key is held down

reset ( ) : void
update ( ) : void

Method Details

FlxKeyboard() public method

public FlxKeyboard ( ) : System
return System

justPressed() public method

Returns true if the specified Key was just pressed
public justPressed ( Keys Key ) : bool
Key Keys
return bool

justReleased() public method

Returns true if the specified Key was just released
public justReleased ( Keys Key ) : bool
Key Keys
return bool

pressed() public method

Returns true if the specified Key is held down
public pressed ( Keys Key ) : bool
Key Keys
return bool

reset() public method

public reset ( ) : void
return void

update() public method

public update ( ) : void
return void

Property Details

buttons public_oe static_oe property

public static Buttons buttons
return Buttons