Fixes default initializer of SavingThrow model.

Adds tests for SavingThrow model.
This commit is contained in:
2020-09-05 21:15:07 -07:00
parent 5c5a0bb4f1
commit af47156557
3 changed files with 68 additions and 0 deletions

View File

@@ -10,6 +10,15 @@
@implementation SavingThrow
-(id)init {
self = [super init];
self.name = @"";
self.order = -1;
return self;
}
-(id)initWithName: (NSString*)name andOrder: (int)order {
self = [super init];