2001-04-20 21:31:02 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
ndogfish.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2000 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NDOGFISH_H__
|
|
|
|
#define __ENEMY_NDOGFISH_H__
|
|
|
|
|
|
|
|
class CNpcIronDogfishEnemy : public CNpcEnemy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void postInit();
|
|
|
|
protected:
|
|
|
|
virtual bool processSensor();
|
|
|
|
virtual void processClose( int _frames );
|
|
|
|
virtual void processMovement( int _frames );
|
|
|
|
void processStandardIronDogfishAttack( int _frames );
|
2001-05-04 00:49:57 +02:00
|
|
|
void processWalkToUser( int _frames, int speed );
|
2001-05-04 20:54:27 +02:00
|
|
|
virtual void processAttackCollision();
|
2001-04-20 21:31:02 +02:00
|
|
|
|
|
|
|
enum NPC_IRON_DOGFISH_STATE
|
|
|
|
{
|
|
|
|
IRON_DOGFISH_THUMP_1 = 0,
|
|
|
|
IRON_DOGFISH_LASER_EYE_1 = 1,
|
|
|
|
IRON_DOGFISH_THUMP_2,
|
|
|
|
IRON_DOGFISH_ROLL,
|
|
|
|
IRON_DOGFISH_LASER_EYE_2,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|