SBSPSS/source/enemy/nanemone.h

61 lines
1.2 KiB
C
Raw Normal View History

2001-04-20 00:07:43 +02:00
/*=========================================================================
nanemone.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NANEMONE_H__
#define __ENEMY_NANEMONE_H__
#ifndef __ENEMY_NPC_H__
#include "enemy\npc.h"
#endif
class CNpcAnemoneEnemy : public CNpcEnemy
{
2001-04-26 23:29:44 +02:00
public:
virtual void postInit();
2001-04-20 00:07:43 +02:00
protected:
2001-04-24 21:03:06 +02:00
virtual void processEnemyCollision( CThing *thisThing );
2001-04-20 00:07:43 +02:00
virtual bool processSensor();
};
class CNpcAnemone1Enemy : public CNpcAnemoneEnemy
{
2001-04-20 16:48:15 +02:00
protected:
virtual void processClose( int _frames );
2001-04-20 00:07:43 +02:00
};
class CNpcAnemone2Enemy : public CNpcAnemoneEnemy
{
2001-04-20 22:22:16 +02:00
public:
virtual void postInit();
2001-04-26 23:29:44 +02:00
virtual void shutdown();
2001-05-03 22:47:20 +02:00
virtual void render();
2001-05-10 23:30:17 +02:00
virtual void processShot( int _frames );
2001-04-20 16:48:15 +02:00
protected:
virtual void processClose( int _frames );
2001-05-03 22:47:20 +02:00
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
u16 m_scaleX, m_scaleY;
2001-05-10 23:30:17 +02:00
enum
{
SPIKE_RADIUS = 20,
};
2001-04-20 00:07:43 +02:00
};
class CNpcAnemone3Enemy : public CNpcAnemoneEnemy
{
2001-04-20 16:48:15 +02:00
protected:
virtual void processClose( int _frames );
2001-04-20 00:07:43 +02:00
};
#endif