SBSPSS/source/enemy/nsjfish.h

43 lines
922 B
C
Raw Normal View History

2001-04-19 22:05:09 +02:00
/*=========================================================================
2001-04-20 00:09:59 +02:00
nsjfish.h
2001-04-19 22:05:09 +02:00
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NSJFISH_H__
2001-04-20 00:09:59 +02:00
#define __ENEMY_NSJFISH_H__
2001-04-19 22:05:09 +02:00
#ifndef __ENEMY_NPC_H__
#include "enemy\npc.h"
#endif
2001-05-03 15:11:45 +02:00
#ifndef __SPR_SPRITES_H__
#include <sprites.h>
#endif
2001-04-19 22:05:09 +02:00
class CNpcSmallJellyfishEnemy : public CNpcEnemy
{
public:
2001-04-20 00:09:59 +02:00
void render();
2001-05-03 15:11:45 +02:00
virtual int getFrameCount() {return( FRM_JELLYFISH1_SWIM6 - FRM_JELLYFISH1_SWIM1 + 1 );}
2001-04-30 21:57:49 +02:00
virtual u8 canCollideWithEnemy() {return( false );}
2001-04-19 22:05:09 +02:00
protected:
virtual bool processSensor();
virtual void processClose( int _frames );
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
2001-04-20 22:22:16 +02:00
enum
{
NPC_JELLYFISH_RESISTANCE = 64,
};
2001-04-19 22:05:09 +02:00
};
#endif