1
2
3
4
5
6
7
8
9
10
|
#import "MapModelInfo.h"
@implementation MapModelInfo
- (instancetype)initWithRad:(int)rad
h:(int)h
zoff:(int)zoff
snap:(int)snap
name:(OFString *)name
{
self = [super init];
|
>
>
>
>
>
>
>
>
>
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#import "MapModelInfo.h"
@implementation MapModelInfo
+ (instancetype)infoWithRad:(int)rad
h:(int)h
zoff:(int)zoff
snap:(int)snap
name:(OFString *)name
{
return [[self alloc] initWithRad:rad h:h zoff:zoff snap:snap name:name];
}
- (instancetype)initWithRad:(int)rad
h:(int)h
zoff:(int)zoff
snap:(int)snap
name:(OFString *)name
{
self = [super init];
|