SBSPSS/source/enemy/nhcrab.h

43 lines
881 B
C
Raw Normal View History

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:
2001-04-26 17:20:21 +02:00
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
2001-04-19 22:19:21 +02:00
virtual bool processSensor();
virtual void processClose( int _frames );
2001-04-20 22:22:16 +02:00
2001-05-14 21:48:27 +02:00
s32 m_jumpBase;
2001-04-20 22:22:16 +02:00
enum NPC_HERMIT_CRAB_STATE
{
HERMIT_CRAB_NO_ATTACK = 0,
HERMIT_CRAB_PUNCH_ATTACK = 1,
2001-05-14 21:48:27 +02:00
HERMIT_CRAB_ROLL_ATTACK_JUMP1,
HERMIT_CRAB_ROLL_ATTACK_JUMP2,
HERMIT_CRAB_ROLL_ATTACK_ROLL,
2001-04-20 22:22:16 +02:00
};
2001-04-19 22:19:21 +02:00
};
#endif