38 lines
562 B
C++
38 lines
562 B
C++
#ifndef SCRIPTGHOST
|
|
#define SCRIPTGHOST
|
|
#include "GUI.hpp"
|
|
|
|
class IAG: public Script
|
|
{
|
|
public:
|
|
|
|
void Start();
|
|
void Update();
|
|
void Initialisation(Script_GUI * v);
|
|
|
|
void UpdateDirection();
|
|
|
|
void SetGhost(int v);
|
|
|
|
void ScriptRed();
|
|
void ScriptYellow();
|
|
void ScriptBlue();
|
|
void ScriptPink();
|
|
void ScriptJail();
|
|
void InvDirection();
|
|
int * pacmandirection;
|
|
|
|
private :
|
|
|
|
int couldown;
|
|
int direction;
|
|
int directionuser;
|
|
int ghost;
|
|
int recur;
|
|
|
|
Script_GUI * SGUI;
|
|
};
|
|
|
|
#endif // SCRIPTCONTROL
|
|
|