![]() |
00001 // 00002 // Level.h 00003 // Author: Thomas Taylor 00004 // 00005 // Very basic class to hold info about a level 00006 // 00007 // 19/01/2012: Created class 00008 // 00009 00010 #import "CommonDataTypes.h" 00011 #import <Foundation/Foundation.h> 00012 00013 @interface Level : NSObject 00014 00015 { 00016 NSString* name; 00017 Difficulty difficulty; 00018 CGPoint spawnPosition; 00019 int umbrellaUses; 00020 int helmetUses; 00021 } 00022 00023 @property (readwrite, retain) NSString* name; 00024 @property (readwrite) Difficulty difficulty; 00025 @property (readwrite) CGPoint spawnPoint; 00026 @property (readwrite) int umbrellaUses; 00027 @property (readwrite) int helmetUses; 00028 00029 @end