C# Class Input.MouseDriver

Afficher le fichier Open project: vogon101/BasicOS Class Usage Examples

Méthodes publiques

Свойство Type Description
mouse Mouse

Méthodes publiques

Méthode Description
MouseDriver ( int width, int height ) : System
X ( ) : int
Y ( ) : int
getButton ( ) : Mouse.MouseState
isAnyClicked ( ) : bool
isLeftClicked ( ) : bool
isMiddleClicked ( ) : bool
isRightClicked ( ) : bool
setX ( int x ) : void
setY ( int y ) : void

Method Details

MouseDriver() public méthode

public MouseDriver ( int width, int height ) : System
width int
height int
Résultat System

X() public méthode

public X ( ) : int
Résultat int

Y() public méthode

public Y ( ) : int
Résultat int

getButton() public méthode

public getButton ( ) : Mouse.MouseState
Résultat Mouse.MouseState

isAnyClicked() public méthode

public isAnyClicked ( ) : bool
Résultat bool

isLeftClicked() public méthode

public isLeftClicked ( ) : bool
Résultat bool

isMiddleClicked() public méthode

public isMiddleClicked ( ) : bool
Résultat bool

isRightClicked() public méthode

public isRightClicked ( ) : bool
Résultat bool

setX() public méthode

public setX ( int x ) : void
x int
Résultat void

setY() public méthode

public setY ( int y ) : void
y int
Résultat void

Property Details

mouse public_oe property

public Mouse mouse
Résultat Mouse