-
Notifications
You must be signed in to change notification settings - Fork 0
/
ViewController.h
executable file
·42 lines (27 loc) · 1007 Bytes
/
ViewController.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
// ViewController.h
// BlackJackGame
//
// Created by Yaroslav Dukal on 09.03.15.
// Copyright (c) 2015 Yaroslav Dukal. All rights reserved.
//
#import <UIKit/UIKit.h>
@class blackjack; //adding class blackjack
@interface ViewController : UIViewController <UIAlertViewDelegate>{
IBOutlet UIBarButtonItem *button1;
IBOutlet UIBarButtonItem *button2;
IBOutlet UIBarButtonItem *button3;
IBOutlet UIButton *exitbutton;
blackjack *theBlackJack;
BOOL autoPlay;
}
@property (nonatomic, retain) IBOutlet UIBarButtonItem *button1;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *button2;
@property (nonatomic, retain) IBOutlet UIBarButtonItem *button3;
@property (nonatomic, retain) IBOutlet UIButton *exitbutton;
@property (nonatomic, retain) blackjack *theBlackJack;
-(IBAction) playBlackJack:(id)sender;
-(IBAction) showDealerHand:(id)sender;
-(IBAction) stay:(id)sender;
-(IBAction) exitfromGame:(id)sender;
-(void) firstTwoDealt;
@end