C# Class BlisterUI.Input.MouseManager

Show file Open project: RegrowthStudios/VoxelRTS Class Usage Examples

Public Methods

Method Description
Bind ( Point binding ) : void
Bind ( int x, int y ) : void
IsButtonJustPressed ( MouseButton button ) : bool
IsButtonJustReleased ( MouseButton button ) : bool
Refresh ( ) : void
RefreshPosition ( ) : void
Unbind ( ) : void

Private Methods

Method Description
MouseManager ( ) : System

Method Details

Bind() public method

public Bind ( Point binding ) : void
binding Point
return void

Bind() public method

public Bind ( int x, int y ) : void
x int
y int
return void

IsButtonJustPressed() public method

public IsButtonJustPressed ( MouseButton button ) : bool
button MouseButton
return bool

IsButtonJustReleased() public method

public IsButtonJustReleased ( MouseButton button ) : bool
button MouseButton
return bool

Refresh() public method

public Refresh ( ) : void
return void

RefreshPosition() public method

public RefreshPosition ( ) : void
return void

Unbind() public method

public Unbind ( ) : void
return void