C# Class EzGame.Input.Mouse

Afficher le fichier Open project: CodeTreeCommunity/Shooter2D

Méthodes publiques

Свойство Type Description
CameraPosition Microsoft.Xna.Framework.Vector2

Méthodes publiques

Méthode Description
Holding ( Buttons Key ) : bool

Check if a mouse button is being held

Pressed ( Buttons Key ) : bool

Check if a mouse button has been pressed

Released ( Buttons Key ) : bool

Check if a mouse button has been released

ScrolledDown ( ) : bool
ScrolledUp ( ) : bool
Update ( ) : void

Method Details

Holding() public static méthode

Check if a mouse button is being held
public static Holding ( Buttons Key ) : bool
Key Buttons The mouse button to check.
Résultat bool

Pressed() public static méthode

Check if a mouse button has been pressed
public static Pressed ( Buttons Key ) : bool
Key Buttons The mouse button to check.
Résultat bool

Released() public static méthode

Check if a mouse button has been released
public static Released ( Buttons Key ) : bool
Key Buttons The mouse button to check.
Résultat bool

ScrolledDown() public static méthode

public static ScrolledDown ( ) : bool
Résultat bool

ScrolledUp() public static méthode

public static ScrolledUp ( ) : bool
Résultat bool

Update() public static méthode

public static Update ( ) : void
Résultat void

Property Details

CameraPosition public_oe static_oe property

public static Vector2,Microsoft.Xna.Framework CameraPosition
Résultat Microsoft.Xna.Framework.Vector2