SBSPSS/source/enemy/nhcrab.h

42 lines
829 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-07-04 00:17:20 +02:00
void postInit();
2001-04-19 22:19:21 +02:00
protected:
2001-07-04 16:26:36 +02:00
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
bool processSensor();
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,
2001-06-18 23:49:08 +02:00
HERMIT_CRAB_ROLL_ATTACK_JUMP1 = 1,
2001-05-14 21:48:27 +02:00
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