Cube/src/MapModelInfo.h
Jonathan Schleifer 34b31eb77f Make more use of convenience methods
FossilOrigin-Name: 89fbd7a1520ecb65809b4c1bd10006ce9bb3a662cb7e7804abaf85d1ee1da63a
2025-03-20 13:21:56 +00:00

22 lines
628 B
Objective-C

#import <ObjFW/ObjFW.h>
OF_ASSUME_NONNULL_BEGIN
@interface MapModelInfo: OFObject
@property (nonatomic) int rad, h, zoff, snap;
@property (copy, nonatomic) OFString *name;
+ (instancetype)infoWithRad:(int)rad
h:(int)h
zoff:(int)zoff
snap:(int)snap
name:(OFString *)name;
- (instancetype)init OF_UNAVAILABLE;
- (instancetype)initWithRad:(int)rad
h:(int)h
zoff:(int)zoff
snap:(int)snap
name:(OFString *)name;
@end
OF_ASSUME_NONNULL_END