-
-
Save anonymous/32a13d2b1a95fe0f7ee5 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import <UIKit/UIKit.h> | |
#import "Cell.h" | |
#import "Board.h" | |
#import "MainBoard.h" | |
#import "OponentsViewController.h" | |
#import "InstructionsViewController.h" | |
@interface GameViewController : UIViewController </*MainBoardDelegate,*/ OponentsViewControllerDelegate, InstructionsViewControllerDelegate, UIActionSheetDelegate, UIAlertViewDelegate, UIImagePickerControllerDelegate, UINavigationControllerDelegate> | |
@property (nonatomic, retain) MainBoard *board; | |
@property (nonatomic, retain) OponentsViewController *oponentsViewController; | |
@property (nonatomic, retain) InstructionsViewController *instructionsViewController; | |
@property (nonatomic, retain) UIImagePickerController *imgPicker; | |
@property (nonatomic, retain) IBOutlet UIView *gameView; | |
@property (nonatomic, retain) IBOutlet UILabel *humanScore; | |
@property (nonatomic, retain) IBOutlet UILabel *computerScore; | |
@property (nonatomic, retain) IBOutlet UILabel *computerLabel; | |
@property (nonatomic, retain) IBOutlet UIImageView *humanPortrait; | |
@property (nonatomic, retain) IBOutlet UIImageView *computerPortrait; | |
@property (nonatomic, retain) IBOutlet UIButton *changeLevelBtn; | |
@property (nonatomic, retain) IBOutlet UIButton *instructionsBtn; | |
@property (nonatomic, retain) NSMutableArray *boardMatrix; | |
@property (nonatomic, retain) NSMutableArray *pieceMatrix; | |
- (void)buildGameState; | |
- (void)buildBoardMatrix; | |
- (void)buildPieceMatrix; | |
- (void)initImgPicker; | |
- (void)initOponentsViewController; | |
- (void)initInstructionsViewController; | |
- (void)updateScores; | |
- (void)changeLevel:(int)level; | |
- (IBAction)startOver; | |
- (IBAction)saveGame; | |
- (IBAction)choosePhoto; | |
- (IBAction)toggleOponentsModal; | |
- (IBAction)toggleInstructionsModal; | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment