C# Class Sharpex2D.Input.Implementation.Touch.TouchDevice

Inheritance: ITouchInput
显示文件 Open project: ThuCommix/Sharpex2D

Public Methods

Method Description
GetState ( ) : TouchState

Gets the State.

Initialize ( ) : void

Initializes the input.

TouchDevice ( ) : System

Initializes a new Touch class.

Update ( GameTime gameTime ) : void

Updates the object.

Private Methods

Method Description
DecodeMessage ( Message m ) : void

Decoces the message.

MessageArrived ( object sender, MessageEventArgs e ) : void

MessageArrived event.

Method Details

GetState() public method

Gets the State.
public GetState ( ) : TouchState
return TouchState

Initialize() public method

Initializes the input.
public Initialize ( ) : void
return void

TouchDevice() public method

Initializes a new Touch class.
public TouchDevice ( ) : System
return System

Update() public method

Updates the object.
public Update ( GameTime gameTime ) : void
gameTime GameTime The GameTime.
return void