Fixes default initializer of DamageType model.

Adds tests for DamageType model.
This commit is contained in:
2020-09-05 20:01:53 -07:00
parent e4f33e553a
commit 70ddeeb5f1
3 changed files with 75 additions and 0 deletions

View File

@@ -10,6 +10,16 @@
@implementation DamageType
-(id)init {
self = [super init];
self.name = @"";
self.note = @"";
self.type = @"";
return self;
}
-(id)initWithName: (NSString*)name note: (NSString*)note andType: (NSString*)type{
self = [super init];