C# Class BBGamelib.CCTouchDispatcher

Inheritance: CCTouchDelegate
Afficher le fichier Open project: BigWoodGames/cocos2d-unity Class Usage Examples

Méthodes publiques

Свойство Type Description
dispatchEvents bool

Méthodes publiques

Méthode Description
CCTouchDispatcher ( ) : UnityEngine
addStandardDelegate ( CCTouchAllAtOnceDelegate aDelegate, int priority ) : void
addTargetedDelegate ( CCTouchOneByOneDelegate aDelegate, int priority, bool swallowsTouches ) : void
getStandardHandlers ( ) : List
getTargetedHandlers ( ) : List
removeAllDelegates ( ) : void
removeDelegate ( System aDelegate ) : void
setPriority ( int priority, System aDelegate ) : void
touchesBegan ( HashSet aTouches ) : void
touchesCancelled ( HashSet aTouches ) : void
touchesEnded ( HashSet aTouches ) : void
touchesMoved ( HashSet aTouches ) : void

Private Methods

Méthode Description
findHandler ( System aDelegate ) : CCTouchHandler
forceAddHandler ( CCTouchHandler handler, List array ) : void
forceRemoveAllDelegates ( ) : void
forceRemoveDelegate ( System aDelegate ) : void
rearrangeHandlers ( List array ) : void
removeDelegate ( System del, ArrayList fromQueue ) : bool
sortByPriority ( CCTouchHandler first, CCTouchHandler second ) : int
touches ( HashSet touches, kCCTouch touchType ) : void

Method Details

CCTouchDispatcher() public méthode

public CCTouchDispatcher ( ) : UnityEngine
Résultat UnityEngine

addStandardDelegate() public méthode

public addStandardDelegate ( CCTouchAllAtOnceDelegate aDelegate, int priority ) : void
aDelegate CCTouchAllAtOnceDelegate
priority int
Résultat void

addTargetedDelegate() public méthode

public addTargetedDelegate ( CCTouchOneByOneDelegate aDelegate, int priority, bool swallowsTouches ) : void
aDelegate CCTouchOneByOneDelegate
priority int
swallowsTouches bool
Résultat void

getStandardHandlers() public méthode

public getStandardHandlers ( ) : List
Résultat List

getTargetedHandlers() public méthode

public getTargetedHandlers ( ) : List
Résultat List

removeAllDelegates() public méthode

public removeAllDelegates ( ) : void
Résultat void

removeDelegate() public méthode

public removeDelegate ( System aDelegate ) : void
aDelegate System
Résultat void

setPriority() public méthode

public setPriority ( int priority, System aDelegate ) : void
priority int
aDelegate System
Résultat void

touchesBegan() public méthode

public touchesBegan ( HashSet aTouches ) : void
aTouches HashSet
Résultat void

touchesCancelled() public méthode

public touchesCancelled ( HashSet aTouches ) : void
aTouches HashSet
Résultat void

touchesEnded() public méthode

public touchesEnded ( HashSet aTouches ) : void
aTouches HashSet
Résultat void

touchesMoved() public méthode

public touchesMoved ( HashSet aTouches ) : void
aTouches HashSet
Résultat void

Property Details

dispatchEvents public_oe property

public bool dispatchEvents
Résultat bool