summary refs log tree commit diff stats
path: root/Classes/GameModeSelectionLayer.h
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-08-23 09:24:14 -0400
committerStarla Insigna <starla4444@gmail.com>2011-08-23 09:24:14 -0400
commit02d9a87417837ffda602b2d06c2c6897d15a1202 (patch)
treef86db8e466f92df47c1f00c34e2cacfd01595d37 /Classes/GameModeSelectionLayer.h
parentc9337218ef1660360097928c753bde1c79775618 (diff)
downloadcartcollect-02d9a87417837ffda602b2d06c2c6897d15a1202.tar.gz
cartcollect-02d9a87417837ffda602b2d06c2c6897d15a1202.tar.bz2
cartcollect-02d9a87417837ffda602b2d06c2c6897d15a1202.zip
Added a UIPageControl to the level selection screen selection_screen
The page control updates when you swipe through the levels, but tapping it does nothing. I initially attempted to implement scrolling by tapping on the page control, but for some reason, it worked perfectly in the simulator and only randomly on the iPhone. Very weird.

Refs #207
Diffstat (limited to 'Classes/GameModeSelectionLayer.h')
-rw-r--r--Classes/GameModeSelectionLayer.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/Classes/GameModeSelectionLayer.h b/Classes/GameModeSelectionLayer.h index 451a5f8..478a173 100644 --- a/Classes/GameModeSelectionLayer.h +++ b/Classes/GameModeSelectionLayer.h
@@ -15,6 +15,7 @@
15 NSMutableArray* gameModes; 15 NSMutableArray* gameModes;
16 TouchDelegatingView* touchDelegatingView; 16 TouchDelegatingView* touchDelegatingView;
17 CocosOverlayScrollView* scrollView; 17 CocosOverlayScrollView* scrollView;
18 UIPageControl* pageControl;
18} 19}
19 20
20+ (CCScene*)scene; 21+ (CCScene*)scene;