C# Class BBGamelib.CCScrollLayer

Inheritance: CCLayer
Afficher le fichier Open project: BigWoodGames/cocos2d-unity

Méthodes publiques

Méthode Description
CCScrollLayer ( List layers, int pagesWidthOffset, int priority ) : UnityEngine
addPage ( CCLayer aPage ) : void
addPage ( CCLayer aPage, int page ) : void
ccTouchBegan ( UITouch touch ) : bool
ccTouchCancelled ( UITouch touch ) : void
ccTouchEnded ( UITouch touch ) : void
ccTouchMoved ( UITouch touch ) : void
initWithLayers ( List layers, int widthOffset, int priority ) : void
moveToPage ( int page ) : void
removePage ( CCLayer aPage ) : void
removePageWithNumber ( int page ) : void
selectPage ( int page ) : void
updatePages ( ) : void

Méthodes protégées

Méthode Description
registerWithTouchDispatcher ( ) : void

Private Methods

Méthode Description
claimTouch ( UITouch aTouch ) : void
moveToPageEnded ( ) : void
pageNumberForPosition ( Vector2 position ) : int
positionForPageWithNumber ( int pageNumber ) : Vector2

Method Details

CCScrollLayer() public méthode

public CCScrollLayer ( List layers, int pagesWidthOffset, int priority ) : UnityEngine
layers List
pagesWidthOffset int
priority int
Résultat UnityEngine

addPage() public méthode

public addPage ( CCLayer aPage ) : void
aPage CCLayer
Résultat void

addPage() public méthode

public addPage ( CCLayer aPage, int page ) : void
aPage CCLayer
page int
Résultat void

ccTouchBegan() public méthode

public ccTouchBegan ( UITouch touch ) : bool
touch UITouch
Résultat bool

ccTouchCancelled() public méthode

public ccTouchCancelled ( UITouch touch ) : void
touch UITouch
Résultat void

ccTouchEnded() public méthode

public ccTouchEnded ( UITouch touch ) : void
touch UITouch
Résultat void

ccTouchMoved() public méthode

public ccTouchMoved ( UITouch touch ) : void
touch UITouch
Résultat void

initWithLayers() public méthode

public initWithLayers ( List layers, int widthOffset, int priority ) : void
layers List
widthOffset int
priority int
Résultat void

moveToPage() public méthode

public moveToPage ( int page ) : void
page int
Résultat void

registerWithTouchDispatcher() protected méthode

protected registerWithTouchDispatcher ( ) : void
Résultat void

removePage() public méthode

public removePage ( CCLayer aPage ) : void
aPage CCLayer
Résultat void

removePageWithNumber() public méthode

public removePageWithNumber ( int page ) : void
page int
Résultat void

selectPage() public méthode

public selectPage ( int page ) : void
page int
Résultat void

updatePages() public méthode

public updatePages ( ) : void
Résultat void