C# Class geek.GameEngine.TouchManager

The class that manages touch events.
Afficher le fichier Open project: impworks/xna.geek.engine

Méthodes publiques

Свойство Type Description
TouchLocationCache TouchCollection

Méthodes publiques

Méthode Description
CanHandleTouch ( int id, InteractableObject obj ) : bool

Check if a touch location has been handled.

HandleTouch ( int id, InteractableObject obj ) : void

Register a touch location as handled.

Update ( ) : void

Update the touch manager.

Private Methods

Méthode Description
TouchManager ( ) : System

Method Details

CanHandleTouch() static public méthode

Check if a touch location has been handled.
static public CanHandleTouch ( int id, InteractableObject obj ) : bool
id int Touch id.
obj geek.GameEngine.Visuals.InteractableObject Object that has captured the touch.
Résultat bool

HandleTouch() static public méthode

Register a touch location as handled.
static public HandleTouch ( int id, InteractableObject obj ) : void
id int Touch location id.
obj geek.GameEngine.Visuals.InteractableObject Object to capture the touch.
Résultat void

Update() static public méthode

Update the touch manager.
static public Update ( ) : void
Résultat void

Property Details

TouchLocationCache public_oe static_oe property

The cache of touch locations. Prevents multiple collection enumeration interference.
public static TouchCollection TouchLocationCache
Résultat TouchCollection