29 lines
341 B
C++
29 lines
341 B
C++
|
#ifndef GUI
|
||
|
#define GUI
|
||
|
|
||
|
#include "..\C-Engine\CHeader.hpp"
|
||
|
|
||
|
class Script_GUI: public Script
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
void Start();
|
||
|
void Update();
|
||
|
|
||
|
void DelVie(int v);
|
||
|
void AddScore(int v);
|
||
|
|
||
|
void Lose();
|
||
|
void TryAgain();
|
||
|
|
||
|
private:
|
||
|
|
||
|
int score;//Sc: 0
|
||
|
int vie;//Nb de vie
|
||
|
int restart;//Restart * 4
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|