Adds implementation of SavingThrow model.

This commit is contained in:
2020-09-05 18:33:57 -07:00
parent 1e5e7b4cca
commit 8871a57a2c
2 changed files with 14 additions and 0 deletions

View File

@@ -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

View File

@@ -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