37 lines
833 B
C
37 lines
833 B
C
|
/*=========================================================================
|
||
|
|
||
|
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;}
|
||
|
protected:
|
||
|
virtual bool processSensor();
|
||
|
virtual void processMovement( int _frames );
|
||
|
virtual void shutdown();
|
||
|
virtual void processUserCollision( CThing *thisThing );
|
||
|
|
||
|
s16 m_targetHeading;
|
||
|
};
|
||
|
|
||
|
#endif
|