C# Class Myre.UI.InputDevices.MouseDevice

Inheritance: IInputDevice
ファイルを表示 Open project: TomGillen/Myre

Public Methods

Method Description
BlockInputs ( IEnumerable inputs ) : void
Evaluate ( GameTime gameTime, Control focused, UserInterface ui ) : void
IsBlocked ( ICollection inputs ) : bool
IsButtonDown ( MouseButtons button ) : bool
IsButtonNewlyDown ( MouseButtons button ) : bool
IsButtonNewlyUp ( MouseButtons button ) : bool
IsButtonUp ( MouseButtons button ) : bool
MouseDevice ( ) : System
Update ( GameTime gameTime ) : void
WasButtonDown ( MouseButtons button ) : bool
WasButtonUp ( MouseButtons button ) : bool

Method Details

BlockInputs() public method

public BlockInputs ( IEnumerable inputs ) : void
inputs IEnumerable
return void

Evaluate() public method

public Evaluate ( GameTime gameTime, Control focused, UserInterface ui ) : void
gameTime GameTime
focused Control
ui UserInterface
return void

IsBlocked() public method

public IsBlocked ( ICollection inputs ) : bool
inputs ICollection
return bool

IsButtonDown() public method

public IsButtonDown ( MouseButtons button ) : bool
button MouseButtons
return bool

IsButtonNewlyDown() public method

public IsButtonNewlyDown ( MouseButtons button ) : bool
button MouseButtons
return bool

IsButtonNewlyUp() public method

public IsButtonNewlyUp ( MouseButtons button ) : bool
button MouseButtons
return bool

IsButtonUp() public method

public IsButtonUp ( MouseButtons button ) : bool
button MouseButtons
return bool

MouseDevice() public method

public MouseDevice ( ) : System
return System

Update() public method

public Update ( GameTime gameTime ) : void
gameTime GameTime
return void

WasButtonDown() public method

public WasButtonDown ( MouseButtons button ) : bool
button MouseButtons
return bool

WasButtonUp() public method

public WasButtonUp ( MouseButtons button ) : bool
button MouseButtons
return bool