-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathModuleContinue.h
More file actions
50 lines (37 loc) · 825 Bytes
/
ModuleContinue.h
File metadata and controls
50 lines (37 loc) · 825 Bytes
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
#ifndef _MODULECONTINUE_H__
#define _MODULECONTINUE_H__
#include "Module.h"
#include "Animation.h"
#include "Globals.h"
struct SDL_Texture;
class ModuleContinue : public Module
{
public:
ModuleContinue();
~ModuleContinue();
bool Start();
update_status Update();
bool CleanUp();
private:
Animation numbersAnim;
Animation fireAnim[8];
SDL_Rect backgroundRect;
SDL_Rect continueRect;
int number = NULL;
bool cycle = NULL;
float normalized = NULL;
float alpha = NULL;
SDL_Texture* backgroundTexture;
SDL_Texture* continueTexture;
Uint32 timeBetweenNumbers;
Uint32 fireProgessionCounter;
Uint32 start_time;
Uint32 now;
int next;
int timeBetweenFrames;
bool nextPrint = false;
int firePositions[8] = {21,53,85,117,149,181,213,253};
int row;
int nextNumber;
};
#endif // !_MODULECONTINUE_H__