SBSPSS/source/enemy/nsdart.h
Charles 76a722c5ec
2001-05-15 20:21:05 +00:00

40 lines
908 B
C++

/*=========================================================================
nsdart.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NSDART_H__
#define __ENEMY_NSDART_H__
#ifndef __SPR_SPRITES_H__
#include <sprites.h>
#endif
class CNpcSquidDartEnemy : public CNpcEnemy
{
public:
void render();
virtual int getFrameCount() {return( FRM_SQUIDDART_SWIM0004 - FRM_SQUIDDART_SWIM0001 + 1 );}
virtual u8 canCollideWithEnemy() {return( false );}
virtual void fireAsProjectile( s16 heading );
protected:
virtual s32 getFrameShift( int _frames );
virtual bool processSensor();
virtual void processClose( int _frames );
DVECTOR m_circleCentre;
s16 m_angularDistance;
s16 m_startAngle;
s32 m_circleRadius;
};
#endif