Adds implementation of SavingThrow model.
This commit is contained in:
@@ -12,6 +12,11 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@interface SavingThrow : NSObject
|
||||
|
||||
@property NSString* name;
|
||||
@property int order;
|
||||
|
||||
-(id)initWithName: (NSString*)name andOrder: (int)order;
|
||||
|
||||
@end
|
||||
|
||||
NS_ASSUME_NONNULL_END
|
||||
|
||||
@@ -10,4 +10,13 @@
|
||||
|
||||
@implementation SavingThrow
|
||||
|
||||
-(id)initWithName: (NSString*)name andOrder: (int)order {
|
||||
self = [super init];
|
||||
|
||||
self.name = name;
|
||||
self.order = order;
|
||||
|
||||
return self;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
Reference in New Issue
Block a user