2001-04-19 22:19:21 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
2001-04-20 00:09:59 +02:00
|
|
|
nhcrab.h
|
2001-04-19 22:19:21 +02:00
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NHCRAB_H__
|
2001-04-20 00:09:59 +02:00
|
|
|
#define __ENEMY_NHCRAB_H__
|
2001-04-19 22:19:21 +02:00
|
|
|
|
|
|
|
#ifndef __ENEMY_NPC_H__
|
|
|
|
#include "enemy\npc.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcHermitCrabEnemy : public CNpcEnemy
|
|
|
|
{
|
|
|
|
public:
|
2001-04-20 22:22:16 +02:00
|
|
|
virtual void postInit();
|
2001-04-19 22:19:21 +02:00
|
|
|
protected:
|
|
|
|
virtual bool processSensor();
|
|
|
|
virtual void processClose( int _frames );
|
2001-04-20 22:22:16 +02:00
|
|
|
|
|
|
|
enum NPC_HERMIT_CRAB_STATE
|
|
|
|
{
|
|
|
|
HERMIT_CRAB_NO_ATTACK = 0,
|
|
|
|
HERMIT_CRAB_PUNCH_ATTACK = 1,
|
|
|
|
HERMIT_CRAB_ROLL_ATTACK,
|
|
|
|
};
|
2001-04-19 22:19:21 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|