2016-04-30 13:47:44 +02:00
|
|
|
#ifndef SCRIPTCONTROL
|
|
|
|
#define SCRIPTCONTROL
|
|
|
|
|
|
|
|
#include"GUI.hpp"
|
|
|
|
|
|
|
|
unsigned char * Modifier (unsigned char * line , int place , char valeur);
|
|
|
|
|
|
|
|
class Control: public Script
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
void Start();
|
|
|
|
void Update();
|
|
|
|
void Initialisation(Script_GUI * v);
|
|
|
|
void Die();
|
2016-05-13 23:06:32 +02:00
|
|
|
int direction;
|
2016-04-30 13:47:44 +02:00
|
|
|
|
|
|
|
private :
|
|
|
|
|
|
|
|
Script_GUI * SGUI;
|
|
|
|
|
|
|
|
int directionuser;
|
|
|
|
int objectif;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif // SCRIPTCONTROL
|
|
|
|
|