This commit is contained in:
parent
9d668cb68e
commit
4d00a63deb
14 changed files with 71 additions and 322 deletions
|
@ -14,34 +14,21 @@
|
|||
#ifndef __ENEMY_NPROJJF_H__
|
||||
#define __ENEMY_NPROJJF_H__
|
||||
|
||||
#ifndef __ENEMY_NPC_H__
|
||||
#include "enemy\npc.h"
|
||||
#ifndef __ENEMY_NSJFISH_H__
|
||||
#include "enemy\nsjfish.h"
|
||||
#endif
|
||||
|
||||
#ifndef __SPR_SPRITES_H__
|
||||
#include <sprites.h>
|
||||
#endif
|
||||
|
||||
class CNpcSmallJellyfishProjectileEnemy : public CNpcEnemy
|
||||
class CNpcSmallJellyfishProjectileEnemy : public CNpcSmallJellyfishEnemy
|
||||
{
|
||||
public:
|
||||
void render();
|
||||
virtual int getFrameCount() {return( FRM_JELLYFISH1_SWIM6 - FRM_JELLYFISH1_SWIM1 + 1 );}
|
||||
virtual u8 canCollideWithEnemy() {return( false );}
|
||||
virtual void postInit();
|
||||
virtual void think(int _frames);
|
||||
protected:
|
||||
virtual bool processSensor();
|
||||
virtual void processClose( int _frames );
|
||||
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
||||
|
||||
enum
|
||||
{
|
||||
NPC_JELLYFISH_RESISTANCE = 64,
|
||||
};
|
||||
|
||||
s32 m_lifetime;
|
||||
bool m_evadeClockwise;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue