-
Notifications
You must be signed in to change notification settings - Fork 2
/
HEALUser.h
51 lines (42 loc) · 1.13 KB
/
HEALUser.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// HEALUser.h
// drinkingApp
//
// Created by Eivind Bakke on 3/3/14.
// Copyright (c) 2014 Halealei. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "HEALNight.h"
@interface HEALUser : NSObject
{
}
typedef enum
{
SEXES_MALE,
SEXES_FEMALE
} sexes;
typedef enum
{
INTOXSTATE_SOBER,
INTOXSTATE_TIPSY,
INTOXSTATE_DRUNK,
INTOXSTATE_DANGER
} intoxState;
// State of intoxication specific properties
@property(nonatomic, assign) intoxState state;
@property(strong, nonatomic) NSString *stateAsString;
@property(nonatomic) float wheelFill;
@property(strong, nonatomic) UIColor *wheelColorTint;
// General relevant user properties
@property(nonatomic, assign) sexes sex;
@property(nonatomic) int weight;
@property(strong, nonatomic) NSString *name;
@property(nonatomic) float BAC;
@property(strong, nonatomic) HEALNight* currentNight;
// SMS specific properties
@property(strong, nonatomic) NSString* smsMessage;
@property(strong, nonatomic) NSString* sosContact;
@property(strong, nonatomic) NSString* contactNumber;
@property(nonatomic, assign) intoxState smsState;
@property(nonatomic) BOOL autoSMS;
@end