SBSPSS/source/enemy/nprojjf.h

48 lines
1.0 KiB
C
Raw Normal View History

2001-05-04 22:11:05 +02:00
/*=========================================================================
nprojjf.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NPROJJF_H__
#define __ENEMY_NPROJJF_H__
#ifndef __ENEMY_NPC_H__
#include "enemy\npc.h"
#endif
#ifndef __SPR_SPRITES_H__
#include <sprites.h>
#endif
class CNpcSmallJellyfishProjectileEnemy : public CNpcEnemy
{
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;
2001-05-16 21:04:40 +02:00
bool m_evadeClockwise;
2001-05-04 22:11:05 +02:00
};
#endif