C# Class Sharpex2D.Input.MouseState

Afficher le fichier Open project: ThuCommix/Sharpex2D Class Usage Examples

Méthodes publiques

Méthode Description
IsPressed ( MouseButtons button ) : bool

A value indicating whether the MouseButton is pressed.

Private Methods

Méthode Description
MouseState ( bool>.Dictionary reference, Vector2 position ) : System.Collections.Generic

Initializes a new MouseState class.

Method Details

IsPressed() public méthode

A value indicating whether the MouseButton is pressed.
public IsPressed ( MouseButtons button ) : bool
button MouseButtons The MouseButton.
Résultat bool