2001-04-20 16:48:15 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
neyeball.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2000 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NEYEBALL_H__
|
|
|
|
#define __ENEMY_NEYEBALL_H__
|
|
|
|
|
|
|
|
class CNpcEyeballEnemy : public CNpcEnemy
|
|
|
|
{
|
2001-05-11 18:27:23 +02:00
|
|
|
public:
|
2001-05-17 17:27:03 +02:00
|
|
|
virtual void render();
|
2001-04-20 16:48:15 +02:00
|
|
|
virtual void postInit();
|
2001-05-17 17:27:03 +02:00
|
|
|
virtual void shutdown();
|
|
|
|
virtual int getFrameCount() {return( 1 );}
|
|
|
|
virtual void processEvent( GAME_EVENT evt, CThing *sourceThing );
|
2001-04-20 16:48:15 +02:00
|
|
|
protected:
|
2001-04-24 21:03:06 +02:00
|
|
|
virtual void processEnemyCollision( CThing *thisThing );
|
2001-04-20 16:48:15 +02:00
|
|
|
virtual bool processSensor();
|
|
|
|
virtual void processClose( int _frames );
|
2001-06-28 22:29:14 +02:00
|
|
|
virtual void processShotDeathStart( int _frames );
|
|
|
|
virtual void processShotDeathEnd( int _frames );
|
2001-05-16 21:04:40 +02:00
|
|
|
|
|
|
|
s32 m_fireHeading;
|
2001-05-17 17:27:03 +02:00
|
|
|
|
|
|
|
enum
|
|
|
|
{
|
|
|
|
EYEBALL_DIST = 30,
|
|
|
|
};
|
2001-04-20 16:48:15 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|