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();
|
2001-07-04 00:17:20 +02:00
|
|
|
void shutdown();
|
2001-07-04 16:26:36 +02:00
|
|
|
void setTargetHeading( s16 newTargetHeading ) {m_targetHeading = newTargetHeading;}
|
|
|
|
u8 hasBeenAttacked();
|
2001-08-15 17:05:44 +02:00
|
|
|
bool allowOffMap() {return(true);}
|
|
|
|
|
2001-05-10 16:00:29 +02:00
|
|
|
protected:
|
2001-07-04 16:26:36 +02:00
|
|
|
bool processSensor();
|
|
|
|
void processMovement( int _frames );
|
|
|
|
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
|