54 lines
542 B
C++
54 lines
542 B
C++
|
#ifndef IAWHISPY
|
||
|
#define IAWHISPY
|
||
|
|
||
|
#include "..\C-Engine\CEngine.hpp"
|
||
|
#include "IA_Monstre.hpp"
|
||
|
|
||
|
// Mob script
|
||
|
|
||
|
class Mob_Whispy: public Mob
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
Mob_Whispy();
|
||
|
|
||
|
void Update();
|
||
|
void UpdateEverySecond();
|
||
|
|
||
|
Animation A_Souffle;
|
||
|
Animation A_Apple;
|
||
|
|
||
|
private:
|
||
|
|
||
|
int choix;
|
||
|
int life;
|
||
|
int couldown;
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
class Ia_Apple: public Script
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
Ia_Apple();
|
||
|
|
||
|
void Update();
|
||
|
|
||
|
private :
|
||
|
|
||
|
int rebond;
|
||
|
};
|
||
|
|
||
|
class Ia_Souffle: public Script
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
|
||
|
void Update();
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif
|