SBSPSS/source/enemy/nhcrab.h
Charles 853dc2607c
2001-06-01 19:53:49 +00:00

43 lines
881 B
C++

/*=========================================================================
nhcrab.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NHCRAB_H__
#define __ENEMY_NHCRAB_H__
#ifndef __ENEMY_NPC_H__
#include "enemy\npc.h"
#endif
class CNpcHermitCrabEnemy : public CNpcEnemy
{
public:
virtual void postInit();
protected:
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
virtual bool processSensor();
virtual void processClose( int _frames );
s32 m_jumpBase;
enum NPC_HERMIT_CRAB_STATE
{
HERMIT_CRAB_NO_ATTACK = 0,
HERMIT_CRAB_PUNCH_ATTACK = 1,
HERMIT_CRAB_ROLL_ATTACK_JUMP1,
HERMIT_CRAB_ROLL_ATTACK_JUMP2,
HERMIT_CRAB_ROLL_ATTACK_ROLL,
};
};
#endif