This commit is contained in:
Charles 2001-04-20 19:06:19 +00:00
parent 8a8e056f1c
commit 61f7098fe9

40
source/enemy/nworm.h Normal file
View File

@ -0,0 +1,40 @@
/*=========================================================================
nworm.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NWORM_H__
#define __ENEMY_NWORM_H__
class CNpcParasiticWormEnemy : public CNpcEnemy
{
public:
virtual void postInit();
protected:
virtual bool processSensor();
virtual void processClose( int _frames );
virtual void processMovement( int _frames );
void resetParasiticWormHeadToTail();
enum
{
NPC_PARASITIC_WORM_SPACING = 6,
NPC_PARASITIC_WORM_LENGTH = 10,
};
};
class CNpcParasiticWormSegment : public CNpcParasiticWormEnemy
{
public:
virtual void postInit();
};
#endif