diff options
| author | Starla Insigna <starla4444@gmail.com> | 2011-09-05 12:24:04 -0400 |
|---|---|---|
| committer | Starla Insigna <starla4444@gmail.com> | 2011-09-05 12:24:04 -0400 |
| commit | ef9cab24b9ee3e25ab00d932fbab2f2a91476950 (patch) | |
| tree | 64181097c4ba8f5e2fd7ad5efcebac37adff83c5 /Classes/ZoomFadeTransition.h | |
| parent | c505b38ac0ad593ee7c4e56895a06a69878a88d3 (diff) | |
| download | cartcollect-ef9cab24b9ee3e25ab00d932fbab2f2a91476950.tar.gz cartcollect-ef9cab24b9ee3e25ab00d932fbab2f2a91476950.tar.bz2 cartcollect-ef9cab24b9ee3e25ab00d932fbab2f2a91476950.zip | |
Added zoom/fade transition to selection screen
Refs #207
Diffstat (limited to 'Classes/ZoomFadeTransition.h')
| -rw-r--r-- | Classes/ZoomFadeTransition.h | 19 |
1 files changed, 19 insertions, 0 deletions
| diff --git a/Classes/ZoomFadeTransition.h b/Classes/ZoomFadeTransition.h new file mode 100644 index 0000000..856974f --- /dev/null +++ b/Classes/ZoomFadeTransition.h | |||
| @@ -0,0 +1,19 @@ | |||
| 1 | // | ||
| 2 | // ZoomFadeTransition.h | ||
| 3 | // Cartographic | ||
| 4 | // | ||
| 5 | // Created by Starla Insigna on 9/5/11. | ||
| 6 | // Copyright (c) 2011 Four Island. All rights reserved. | ||
| 7 | // | ||
| 8 | |||
| 9 | #import "cocos2d.h" | ||
| 10 | |||
| 11 | @interface ZoomFadeTransition : CCTransitionScene { | ||
| 12 | CGPoint endPosition_; | ||
| 13 | float endScale_; | ||
| 14 | } | ||
| 15 | |||
| 16 | + (id)transitionWithDuration:(ccTime)t scene:(CCScene *)s position:(CGPoint)position; | ||
| 17 | - (id)initWithDuration:(ccTime)t scene:(CCScene *)s position:(CGPoint)position; | ||
| 18 | |||
| 19 | @end | ||
