-
Notifications
You must be signed in to change notification settings - Fork 14
/
GameScene.h
executable file
·42 lines (35 loc) · 1.03 KB
/
GameScene.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
//
// GameScene.h
// Hangman
//
// Created by Clawoo on 1/30/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "cocos2d.h"
@interface GameScene : CCLayer <UIAlertViewDelegate> {
NSArray *keyboardLines_;
NSMutableString *pickedLetters_;
NSString *word_;
NSMutableString *displayedWord_;
NSInteger wrongLetters_;
CCLabelTTF *wordLabel_;
int correctKeysPressed_;
int correctKeysPressedThisGame_;
int gamesWonInARow_;
NSMutableArray *achievements_;
int score_;
CCLabelBMFont *scoreLabel_;
CCLayer *achievementLayer_;
NSString *scoreGuid_;
NSString *playerName_;
NSMutableDictionary *scoreDict_;
}
+ (id)scene;
- (CCMenuItem *)itemForAtRow:(NSInteger)row column:(NSInteger)column;
@property (nonatomic, retain) NSMutableString *displayedWord;
@property (nonatomic, retain) NSMutableString *pickedLetters;
@property (nonatomic, retain) NSString *word;
@property (nonatomic, retain) NSString *scoreGuid;
@property (nonatomic, retain) NSString *playerName;
@end