Artifact d506409929f7ecb06db799df0239f281daaade7c9fc2a4faf417c4d2e18ef8db:
- File src/MapModelInfo.m — part of check-in [89fbd7a152] at 2025-03-20 13:21:56 on branch trunk — Make more use of convenience methods (user: js, size: 641) [annotate] [blame] [check-ins using]
#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]; _rad = rad; _h = h; _zoff = zoff; _snap = snap; _name = [name copy]; return self; } @end