-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathscript.h
More file actions
38 lines (29 loc) · 749 Bytes
/
script.h
File metadata and controls
38 lines (29 loc) · 749 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
#ifndef SCRIPT_H_INCLUDED
#define SCRIPT_H_INCLUDED
#include <SFML/Graphics.hpp>
#include "population.h"
#include "timer.h"
#include "enemies/enemy.h"
#include "image_manager.h"
#include "player.h"
#include "population.h"
#include "tirs/projectile_manager.h"
#include "const.h"
class Script:public sf::Thread
{
public:
Script( short const id);
void niveau1();
void niveau2();
bool isFinished();
short nextLevel();
void setLaunchLevel(short launchLevel);
private:
// Run() est une fonctione virtuelle de sf::Thread
void Run();
short const id;
Timer timer;
bool finished;
short currentLevel, m_launchLevel;
};
#endif // SCRIPT_H_INCLUDED