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