C# Class Sharpex2D.Input.MouseState

ファイルを表示 Open project: ThuCommix/Sharpex2D Class Usage Examples

Public Methods

Method Description
IsPressed ( MouseButtons button ) : bool

A value indicating whether the MouseButton is pressed.

Private Methods

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

Initializes a new MouseState class.

Method Details

IsPressed() public method

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