ResKnife/NovaTools/ship/ShipWindowController.m

19 lines
309 B
Objective-C

#import "ShipWindowController.h"
@implementation ShipWindowController
- (id)initWithResource:(id <ResKnifeResourceProtocol>)newResource
{
self = [self initWithWindowNibName:@"ship"];
if( !self ) return nil;
return self;
}
- (void)windowDidLoad
{
[super windowDidLoad];
[self showWindow:self];
}
@end