equal
deleted
inserted
replaced
19 */ |
19 */ |
20 |
20 |
21 |
21 |
22 #import <Foundation/Foundation.h> |
22 #import <Foundation/Foundation.h> |
23 |
23 |
|
24 typedef enum {gtNone, gtLocal, gtSave, gtMission, gtNet} TGameType; |
|
25 typedef enum {gsNone, gsLoading, gsInGame, gsEnded} TGameStatus; |
|
26 |
24 @interface HWUtils : NSObject { |
27 @interface HWUtils : NSObject { |
25 |
28 |
26 } |
29 } |
27 |
30 |
|
31 +(TGameType) gameType; |
|
32 +(void) setGameType:(TGameType) type; |
|
33 +(TGameStatus) gameStatus; |
|
34 +(void) setGameStatus:(TGameStatus) status; |
|
35 +(BOOL) isGameLaunched; |
|
36 +(BOOL) isGameRunning; |
|
37 |
28 +(NSString *)modelType; |
38 +(NSString *)modelType; |
29 +(NSArray *)teamColors; |
39 +(NSArray *)teamColors; |
|
40 +(NSInteger) randomPort; |
|
41 +(BOOL) isNetworkReachable; |
30 +(void) releaseCache; |
42 +(void) releaseCache; |
31 |
43 |
32 @end |
44 @end |
33 |
45 |