39 lines
412 B
C++
39 lines
412 B
C++
|
#ifndef IABOMBER
|
||
|
#define IABOMBER
|
||
|
|
||
|
#include "..\C-Engine\CEngine.hpp"
|
||
|
#include "IA_Monstre.hpp"
|
||
|
|
||
|
// Mob script
|
||
|
|
||
|
class Mob_Bomber: public Mob
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
Mob_Bomber();
|
||
|
|
||
|
void Update();
|
||
|
void UpdateEverySecond();
|
||
|
|
||
|
Animation A_Bomb;
|
||
|
|
||
|
private:
|
||
|
|
||
|
int choix;
|
||
|
bool needtoback;
|
||
|
|
||
|
bool isground;
|
||
|
int life;
|
||
|
|
||
|
|
||
|
};
|
||
|
|
||
|
class Ia_Bomb: public Script
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
void Update();
|
||
|
};
|
||
|
|
||
|
#endif
|