Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #import "MCWorld.h"
- @implementation MCWorld
- @synthesize data;
- @synthesize properties;
- @synthesize players;
- -(MCWorld*)initWithFileType:(NSString *)type andPath:(NSString *)path {
- if (self = [super init]) {
- if (type != nil) {
- // File-type Specific initialization details:
- }
- // Non-specific initialization details:
- properties = [[NSMutableDictionary alloc] init];
- players = [[NSMutableArray alloc] init];
- }
- return self;
- }
- -(void)dealloc{
- NSLog(@"Dealocating world...");
- [data release];
- [properties release];
- [players release];
- [super dealloc];
- }
- @end
Add Comment
Please, Sign In to add comment