C# 클래스 geek.GameEngine.TouchManager

The class that manages touch events.
파일 보기 프로젝트 열기: impworks/xna.geek.engine

공개 프로퍼티들

프로퍼티 타입 설명
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