This commit is contained in:
parent
8a8e056f1c
commit
61f7098fe9
1 changed files with 40 additions and 0 deletions
40
source/enemy/nworm.h
Normal file
40
source/enemy/nworm.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue