-
Notifications
You must be signed in to change notification settings - Fork 0
/
Gameplay.h
58 lines (44 loc) · 1.32 KB
/
Gameplay.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
52
53
54
//
// Gameplay.h
//
// Created by : Michael Heirendt
// Project : Crush
// Date : 12/30/15
//
// Copyright (c) 2015 Apportable.
// All rights reserved.
//
// -----------------------------------------------------------------
#import <Foundation/Foundation.h>
#import "cocos2d.h"
#import "TableView.h"
// -----------------------------------------------------------------
@interface Gameplay : CCNode <CCPhysicsCollisionDelegate>{
int medalCount;
int targetsLaunched;
}
// -----------------------------------------------------------------
// properties
// -----------------------------------------------------------------
// methods
+ (instancetype)node;
- (instancetype)init;
-(void)addChicken:(float)x y:(float)y androtation:(float)rotation andMoveToX:(float)movex andMoveToY:(float)movey;
- (void)launchEgg;
-(void)flyingChicken;
-(void)dropEgg:(CCNode*)flying;
-(void)roundComplete;
-(void)_continuePressed;
- (void)launchEggTopRight;
-(void)newRound:(NSString*)round;
-(void)initRound:(int)number;
-(void)rewardMedal:(CCSprite *)medalType andLabel:(NSString*)input andExp:(int)exp;
-(void)pauseScene;
-(void)bombPressed;
-(void)armoryPressed;
-(void)eggRemoved:(CCNode*)egg;
-(void)bombPurchased;
-(void)repairPurchased;
-(void)bladePressed;
// -----------------------------------------------------------------
@end