2016-04-30 13:46:05 +02:00
|
|
|
#ifndef IAMONSTRE
|
|
|
|
#define IAMONSTRE
|
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
#include "..\C-Engine\CEngine.hpp"
|
2016-04-30 13:46:05 +02:00
|
|
|
|
|
|
|
// Mob script
|
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
class Mob: public Script
|
2016-04-30 13:46:05 +02:00
|
|
|
{
|
2016-07-12 19:10:22 +02:00
|
|
|
public :
|
2016-04-30 13:46:05 +02:00
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
Mob();
|
2016-04-30 13:46:05 +02:00
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
void SetDirection( bool d);
|
|
|
|
void SetCouldown( int c);
|
2016-04-30 13:46:05 +02:00
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
bool direction;
|
|
|
|
int couldown;
|
2016-04-30 13:46:05 +02:00
|
|
|
};
|
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
class Mob_InLine: public Mob
|
2016-04-30 13:46:05 +02:00
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
void Update();
|
2016-07-12 19:10:22 +02:00
|
|
|
};
|
2016-04-30 13:46:05 +02:00
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
class Mob_InLine_Jump: public Mob_InLine
|
|
|
|
{
|
|
|
|
public:
|
2016-04-30 13:46:05 +02:00
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
void UpdateEverySecond();
|
2016-04-30 13:46:05 +02:00
|
|
|
};
|
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
class Mob_InLine_Fly: public Mob_InLine
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
|
|
|
|
void Update();
|
|
|
|
};
|
2016-04-30 13:46:05 +02:00
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
class Mob_Piaf: public Mob
|
2016-04-30 13:46:05 +02:00
|
|
|
{
|
|
|
|
public:
|
2016-07-12 19:10:22 +02:00
|
|
|
|
2016-04-30 13:46:05 +02:00
|
|
|
void Update();
|
2016-07-12 19:10:22 +02:00
|
|
|
void UpdateEverySecond();
|
|
|
|
};
|
2016-04-30 13:46:05 +02:00
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
class Mob_Champ: public Mob
|
|
|
|
{
|
|
|
|
public:
|
2016-04-30 13:46:05 +02:00
|
|
|
|
2016-07-12 19:10:22 +02:00
|
|
|
void Update();
|
2016-04-30 13:46:05 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|