mirror of
https://github.com/nednal12/APLOC2.git
synced 2024-06-01 10:41:30 +00:00
37 lines
549 B
Objective-C
37 lines
549 B
Objective-C
//
|
|
// Child.h
|
|
// APLOC2 Week 1
|
|
//
|
|
// Created by Brent Marohnic on 2/7/13.
|
|
// Copyright (c) 2013 Brent Marohnic. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
|
|
typedef enum
|
|
{
|
|
CHILDTYPE_GOOD=0,
|
|
CHILDTYPE_BAD,
|
|
CHILDTYPE_PERFECT,
|
|
CHILDTYPE_ROTTEN
|
|
|
|
} EChildType;
|
|
|
|
@interface Child : NSObject
|
|
{
|
|
@public
|
|
NSString *strName;
|
|
int intChild;
|
|
EChildType childType;
|
|
}
|
|
|
|
-(id)initWithDetails:(int)inpIntChild inpStrName:(NSString*)inpStrName;
|
|
|
|
-(void)showName;
|
|
|
|
-(NSString*)showChild;
|
|
|
|
@property int intChild;
|
|
|
|
@end
|