-
Notifications
You must be signed in to change notification settings - Fork 0
/
ModuleLevelOne.h
57 lines (42 loc) · 1011 Bytes
/
ModuleLevelOne.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
55
56
57
#ifndef __MODULELEVELONE_H__
#define __MODULELEVELONE_H__
#include "Module.h"
class Flag;
class Npc;
class Scoreboard;
class Player;
class FlagMen;
struct SDL_Texture;
class ModuleLevelOne : public Module
{
public:
ModuleLevelOne(bool active = true);
~ModuleLevelOne();
bool Start() override;
update_status Update() override;
bool CleanUp() override;
int getHeightInPosition(int x, int y);
int getTextureInPosition(int x, int y);
void DidLap();
public:
SDL_Texture* background = nullptr;
SDL_Texture* graphics = nullptr;
SDL_Texture* stars = nullptr;
SDL_Rect rect;
SDL_Rect rectAlter;
SDL_Rect rectTitleLevel;
Scoreboard* scoreboard = nullptr;
Player* player = nullptr;
Player* player2 = nullptr;
Npc* npcAzul = nullptr;
Npc* npcRed = nullptr;
Npc* npcYellow = nullptr;
Npc* npcGray = nullptr;
Flag* flag = nullptr;
Flag* flag2 = nullptr;
Flag* flag3 = nullptr;
FlagMen* flagMen;
int* heightMap = nullptr;
int* textureMap = nullptr;
};
#endif // __MODULESCENESPACE_H__