2001-05-10 16:00:29 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
nsjback.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2000 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NSJBACK_H__
|
|
|
|
#define __ENEMY_NSJBACK_H__
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NSJFISH_H__
|
|
|
|
#include "enemy\nsjfish.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcSmallJellyfishBackgroundEnemy : public CNpcSmallJellyfishEnemy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void render();
|
|
|
|
virtual void postInit();
|
|
|
|
virtual void setTargetHeading( s16 newTargetHeading ) {m_targetHeading = newTargetHeading;}
|
2001-05-15 22:21:05 +02:00
|
|
|
virtual u8 hasBeenAttacked();
|
2001-05-10 16:00:29 +02:00
|
|
|
protected:
|
|
|
|
virtual bool processSensor();
|
|
|
|
virtual void processMovement( int _frames );
|
|
|
|
virtual void shutdown();
|
|
|
|
virtual void processUserCollision( CThing *thisThing );
|
2001-05-15 22:21:05 +02:00
|
|
|
virtual void collidedWith(CThing *_thisThing);
|
2001-05-10 16:00:29 +02:00
|
|
|
|
|
|
|
s16 m_targetHeading;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|