48 |
if (self != nil) |
if (self != nil) |
49 |
{ |
{ |
50 |
_name = RETAIN(name); |
_name = RETAIN(name); |
51 |
_players = AUTORELEASE([[NSMutableArray alloc] init]); |
_players = [[NSMutableArray alloc] init]; |
52 |
_teams = AUTORELEASE([[NSMutableArray alloc] init]); |
_teams = [[NSMutableArray alloc] init]; |
53 |
_map = nil; |
_map = nil; |
54 |
_objects = AUTORELEASE([[NSMutableArray alloc] init]); |
_objects = [[NSMutableArray alloc] init]; |
55 |
} |
} |
56 |
|
|
57 |
return self; |
return self; |
66 |
RELEASE(_players); |
RELEASE(_players); |
67 |
RELEASE(_teams); |
RELEASE(_teams); |
68 |
/* FIXME - map not declared */ |
/* FIXME - map not declared */ |
69 |
// if (_map) |
//TEST_RELEASE(_map); |
|
// RELEASE(_map); |
|
70 |
RELEASE(_objects); |
RELEASE(_objects); |
71 |
|
|
72 |
[super dealloc]; |
[super dealloc]; |
197 |
return _objects; |
return _objects; |
198 |
} |
} |
199 |
|
|
200 |
@end |
@end |
|
|
|
|
|
|