C# Class Myre.UI.InputDevices.MouseDevice

Inheritance: IInputDevice
Afficher le fichier Open project: TomGillen/Myre

Méthodes publiques

Méthode 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 méthode

public BlockInputs ( IEnumerable inputs ) : void
inputs IEnumerable
Résultat void

Evaluate() public méthode

public Evaluate ( GameTime gameTime, Control focused, UserInterface ui ) : void
gameTime GameTime
focused Control
ui UserInterface
Résultat void

IsBlocked() public méthode

public IsBlocked ( ICollection inputs ) : bool
inputs ICollection
Résultat bool

IsButtonDown() public méthode

public IsButtonDown ( MouseButtons button ) : bool
button MouseButtons
Résultat bool

IsButtonNewlyDown() public méthode

public IsButtonNewlyDown ( MouseButtons button ) : bool
button MouseButtons
Résultat bool

IsButtonNewlyUp() public méthode

public IsButtonNewlyUp ( MouseButtons button ) : bool
button MouseButtons
Résultat bool

IsButtonUp() public méthode

public IsButtonUp ( MouseButtons button ) : bool
button MouseButtons
Résultat bool

MouseDevice() public méthode

public MouseDevice ( ) : System
Résultat System

Update() public méthode

public Update ( GameTime gameTime ) : void
gameTime GameTime
Résultat void

WasButtonDown() public méthode

public WasButtonDown ( MouseButtons button ) : bool
button MouseButtons
Résultat bool

WasButtonUp() public méthode

public WasButtonUp ( MouseButtons button ) : bool
button MouseButtons
Résultat bool