summary refs log tree commit diff stats
path: root/Classes/FallingObjectDelegate.h
diff options
context:
space:
mode:
authorStarla Insigna <starla4444@gmail.com>2011-08-12 09:51:50 -0400
committerStarla Insigna <starla4444@gmail.com>2011-08-12 09:51:50 -0400
commitd19677f9f73d8fe7436982bdf8d40f69d69d1b43 (patch)
tree74853f369ef51bc9f9f595ff31153ce1a718e651 /Classes/FallingObjectDelegate.h
parent07f40d804de35d1cead13217c448811e774e6e67 (diff)
downloadcartcollect-d19677f9f73d8fe7436982bdf8d40f69d69d1b43.tar.gz
cartcollect-d19677f9f73d8fe7436982bdf8d40f69d69d1b43.tar.bz2
cartcollect-d19677f9f73d8fe7436982bdf8d40f69d69d1b43.zip
Added tutorial mode
GameLayer was also renamed to ClassicGameMode and its pause functionality and score/lives counters were moved out to GameMode. FallingObjectDelegate was created to allow for custom code to be run when items were caught/missed, something that is used extensively by tutorial mode.

Important: Cart Collect's bundle identifier was changed in this revision from com.fourisland.Cart-Collect to com.apatheticink.Cart-Collect, so ensure that before attempting to compile/run this build, you clear your build directory and remove the old version of Cart Collect from your device.

Closes #193
Diffstat (limited to 'Classes/FallingObjectDelegate.h')
-rw-r--r--Classes/FallingObjectDelegate.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/Classes/FallingObjectDelegate.h b/Classes/FallingObjectDelegate.h new file mode 100644 index 0000000..b5c03fb --- /dev/null +++ b/Classes/FallingObjectDelegate.h
@@ -0,0 +1,20 @@
1//
2// FallingObjectDelegate.h
3// Cart Collect
4//
5// Created by Starla Insigna on 8/10/11.
6// Copyright 2011 Four Island. All rights reserved.
7//
8
9#import <Foundation/Foundation.h>
10
11@class FallingObject;
12
13@protocol FallingObjectDelegate <NSObject>
14
15@optional
16- (void)didCatchItem:(FallingObject*)item;
17- (void)didMissItem:(FallingObject*)item;
18- (void)didDestroyItem:(FallingObject*)item;
19
20@end