49 lines
542 B
C++
49 lines
542 B
C++
|
#ifndef IAMONSTRE
|
||
|
#define IAMONSTRE
|
||
|
|
||
|
#include "..\C-Engine\CHeader.hpp"
|
||
|
|
||
|
// Mob script
|
||
|
|
||
|
class IaOurs: public Script
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
void Start();
|
||
|
void Update();
|
||
|
void UpdateEverySecond();
|
||
|
|
||
|
private:
|
||
|
|
||
|
bool direction;
|
||
|
};
|
||
|
|
||
|
|
||
|
class IaPiaf: public Script
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
void Start();
|
||
|
void Update();
|
||
|
void UpdateEverySecond();
|
||
|
|
||
|
private:
|
||
|
|
||
|
int couldown;
|
||
|
};
|
||
|
|
||
|
|
||
|
class IaChamp: public Script
|
||
|
{
|
||
|
public:
|
||
|
void Start();
|
||
|
void Update();
|
||
|
|
||
|
private:
|
||
|
|
||
|
int time;
|
||
|
bool direction;
|
||
|
};
|
||
|
|
||
|
#endif
|