C# Class EzGame.Input.Mouse

Mostrar archivo Open project: CodeTreeCommunity/Shooter2D

Public Properties

Property Type Description
CameraPosition Microsoft.Xna.Framework.Vector2

Public Methods

Method 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 method

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

Pressed() public static method

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

Released() public static method

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

ScrolledDown() public static method

public static ScrolledDown ( ) : bool
return bool

ScrolledUp() public static method

public static ScrolledUp ( ) : bool
return bool

Update() public static method

public static Update ( ) : void
return void

Property Details

CameraPosition public_oe static_oe property

public static Vector2,Microsoft.Xna.Framework CameraPosition
return Microsoft.Xna.Framework.Vector2