C# Класс geek.GameEngine.TouchManager

The class that manages touch events.
Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
TouchLocationCache TouchCollection

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
TouchManager ( ) : System

Описание методов

CanHandleTouch() статический публичный Метод

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.
Результат bool

HandleTouch() статический публичный Метод

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.
Результат void

Update() статический публичный Метод

Update the touch manager.
static public Update ( ) : void
Результат void

Описание свойств

TouchLocationCache публичное статическое свойство

The cache of touch locations. Prevents multiple collection enumeration interference.
public static TouchCollection TouchLocationCache
Результат TouchCollection