C# Class flxSharp.flxSharp.System.FlxMouse

ファイルを表示 Open project: jlorek/flxSharp Class Usage Examples

Public Properties

Property Type Description
button ButtonState
screenX float
screenY float
wheel int

Public Methods

Method Description
FlxMouse ( ) : System
justPressedLeft ( ) : bool

Returns true if the Left Mouse button was just pressed

justPressedMiddle ( ) : bool

Returns true if the Middle Mouse button was just pressed

justPressedRight ( ) : bool

Returns true if the Right Mouse button was just pressed

justReleasedLeft ( ) : bool

Returns true if the Left Mouse button was just released

justReleasedMiddle ( ) : bool

Returns true if the Middle Mouse button was just released

justReleasedRight ( ) : bool

Returns true if the Right Mouse button was just released

pressedLeft ( ) : bool

Returns true if the Left Mouse button is held down

pressedMiddle ( ) : bool

Returns true if the Middle Mouse button is held down

pressedRight ( ) : bool

Returns true if the Right Mouse button is held down

reset ( ) : void
show ( ) : void
update ( ) : void

Method Details

FlxMouse() public method

public FlxMouse ( ) : System
return System

justPressedLeft() public method

Returns true if the Left Mouse button was just pressed
public justPressedLeft ( ) : bool
return bool

justPressedMiddle() public method

Returns true if the Middle Mouse button was just pressed
public justPressedMiddle ( ) : bool
return bool

justPressedRight() public method

Returns true if the Right Mouse button was just pressed
public justPressedRight ( ) : bool
return bool

justReleasedLeft() public method

Returns true if the Left Mouse button was just released
public justReleasedLeft ( ) : bool
return bool

justReleasedMiddle() public method

Returns true if the Middle Mouse button was just released
public justReleasedMiddle ( ) : bool
return bool

justReleasedRight() public method

Returns true if the Right Mouse button was just released
public justReleasedRight ( ) : bool
return bool

pressedLeft() public method

Returns true if the Left Mouse button is held down
public pressedLeft ( ) : bool
return bool

pressedMiddle() public method

Returns true if the Middle Mouse button is held down
public pressedMiddle ( ) : bool
return bool

pressedRight() public method

Returns true if the Right Mouse button is held down
public pressedRight ( ) : bool
return bool

reset() public method

public reset ( ) : void
return void

show() public method

public show ( ) : void
return void

update() public method

public update ( ) : void
return void

Property Details

button public_oe property

public ButtonState button
return ButtonState

screenX public_oe property

public float screenX
return float

screenY public_oe property

public float screenY
return float

wheel public_oe property

public int wheel
return int