C# Class Reactor.RInput

Datei anzeigen Open project: reisergames/reactor-v1 Class Usage Examples

Public Methods

Method Description
GetCenteredMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2 ) : void
GetCenteredMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2, bool &B3 ) : void
GetCenteredMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2, bool &B3, bool &B4, bool &B5 ) : void
GetControllerState ( int index ) : GamePadState
GetMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2 ) : void
GetMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2, bool &B3 ) : void
GetMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2, bool &B3, bool &B4, bool &B5 ) : void
GetMousePosition ( int &X, int &Y ) : void
GetMouseScreenPosition ( ) : R2DVECTOR
GetMouseState ( int &intX, int &intY, bool &mb1, bool &mb2, bool &mb3, int &wheel, bool AbsolutePosition ) : void
IsKeyDown ( CONST_REACTOR_KEY key ) : bool
IsKeyUp ( CONST_REACTOR_KEY key ) : bool
RInput ( ) : System
SetMousePosition ( int X, int Y ) : void

Method Details

GetCenteredMouse() public method

public GetCenteredMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2 ) : void
X int
Y int
Wheel int
B1 bool
B2 bool
return void

GetCenteredMouse() public method

public GetCenteredMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2, bool &B3 ) : void
X int
Y int
Wheel int
B1 bool
B2 bool
B3 bool
return void

GetCenteredMouse() public method

public GetCenteredMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2, bool &B3, bool &B4, bool &B5 ) : void
X int
Y int
Wheel int
B1 bool
B2 bool
B3 bool
B4 bool
B5 bool
return void

GetControllerState() public method

public GetControllerState ( int index ) : GamePadState
index int
return Microsoft.Xna.Framework.Input.GamePadState

GetMouse() public method

public GetMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2 ) : void
X int
Y int
Wheel int
B1 bool
B2 bool
return void

GetMouse() public method

public GetMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2, bool &B3 ) : void
X int
Y int
Wheel int
B1 bool
B2 bool
B3 bool
return void

GetMouse() public method

public GetMouse ( int &X, int &Y, int &Wheel, bool &B1, bool &B2, bool &B3, bool &B4, bool &B5 ) : void
X int
Y int
Wheel int
B1 bool
B2 bool
B3 bool
B4 bool
B5 bool
return void

GetMousePosition() public method

public GetMousePosition ( int &X, int &Y ) : void
X int
Y int
return void

GetMouseScreenPosition() public method

public GetMouseScreenPosition ( ) : R2DVECTOR
return R2DVECTOR

GetMouseState() public method

public GetMouseState ( int &intX, int &intY, bool &mb1, bool &mb2, bool &mb3, int &wheel, bool AbsolutePosition ) : void
intX int
intY int
mb1 bool
mb2 bool
mb3 bool
wheel int
AbsolutePosition bool
return void

IsKeyDown() public method

public IsKeyDown ( CONST_REACTOR_KEY key ) : bool
key CONST_REACTOR_KEY
return bool

IsKeyUp() public method

public IsKeyUp ( CONST_REACTOR_KEY key ) : bool
key CONST_REACTOR_KEY
return bool

RInput() public method

public RInput ( ) : System
return System

SetMousePosition() public method

public SetMousePosition ( int X, int Y ) : void
X int
Y int
return void