SBSPSS/source/enemy/nclam.h

46 lines
959 B
C
Raw Normal View History

2001-04-20 14:03:03 +02:00
/*=========================================================================
2001-04-20 16:48:15 +02:00
nclam.h
2001-04-20 14:03:03 +02:00
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NCLAM_H__
#define __ENEMY_NCLAM_H__
class CNpcClamEnemy : public CNpcEnemy
{
protected:
2001-04-24 21:03:06 +02:00
virtual void processEnemyCollision( CThing *thisThing );
2001-04-20 14:03:03 +02:00
virtual bool processSensor();
};
class CNpcJumpingClamEnemy : public CNpcClamEnemy
{
2001-04-26 17:20:21 +02:00
public:
virtual void postInit();
2001-04-20 14:03:03 +02:00
protected:
virtual void processClose( int _frames );
};
class CNpcStaticClamEnemy : public CNpcClamEnemy
{
2001-04-25 17:10:26 +02:00
public:
virtual void postInit();
2001-04-25 18:18:52 +02:00
virtual int checkCollisionAgainst(CThing *_thisThing, int _frames);
2001-04-20 14:03:03 +02:00
protected:
2001-04-25 17:10:26 +02:00
virtual void collidedWith(CThing *_thisThing);
virtual void processShot();
2001-04-20 14:03:03 +02:00
virtual void processClose( int _frames );
2001-04-25 17:10:26 +02:00
u8 m_isStunned;
u8 m_isAnimating;
2001-04-20 14:03:03 +02:00
};
#endif