Gosu::Touch Struct Reference

Struct that saves information about a touch on the surface of a multi- touch device. More...

Public Attributes

void * id
 Allows for identification of a touch across calls. More...
 
float x
 Position of a touch on the touch screen. More...
 
float y
 

Detailed Description

Struct that saves information about a touch on the surface of a multi- touch device.

Available even on non-iPhone platforms to make it easier to compile the same source for multiple platforms.

Definition at line 64 of file Input.hpp.

Member Data Documentation

void* Gosu::Touch::id

Allows for identification of a touch across calls.

Definition at line 67 of file Input.hpp.

float Gosu::Touch::x

Position of a touch on the touch screen.

Definition at line 69 of file Input.hpp.

float Gosu::Touch::y

Definition at line 69 of file Input.hpp.


The documentation for this struct was generated from the following file: