C# Class flxSharp.flxSharp.System.FlxMouse

Afficher le fichier Open project: jlorek/flxSharp Class Usage Examples

Méthodes publiques

Свойство Type Description
button ButtonState
screenX float
screenY float
wheel int

Méthodes publiques

Méthode 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 méthode

public FlxMouse ( ) : System
Résultat System

justPressedLeft() public méthode

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

justPressedMiddle() public méthode

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

justPressedRight() public méthode

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

justReleasedLeft() public méthode

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

justReleasedMiddle() public méthode

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

justReleasedRight() public méthode

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

pressedLeft() public méthode

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

pressedMiddle() public méthode

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

pressedRight() public méthode

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

reset() public méthode

public reset ( ) : void
Résultat void

show() public méthode

public show ( ) : void
Résultat void

update() public méthode

public update ( ) : void
Résultat void

Property Details

button public_oe property

public ButtonState button
Résultat ButtonState

screenX public_oe property

public float screenX
Résultat float

screenY public_oe property

public float screenY
Résultat float

wheel public_oe property

public int wheel
Résultat int