2001-04-20 20:34:16 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
nmjfish.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2000 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NMJFISH_H__
|
|
|
|
#define __ENEMY_NMJFISH_H__
|
|
|
|
|
|
|
|
class CNpcMotherJellyfishEnemy : public CNpcEnemy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void postInit();
|
2001-05-04 01:59:30 +02:00
|
|
|
void render();
|
2001-04-20 20:34:16 +02:00
|
|
|
protected:
|
|
|
|
virtual void processClose( int _frames );
|
|
|
|
virtual void processMovement( int _frames );
|
2001-05-04 22:11:44 +02:00
|
|
|
void spawnJellyfish( int _frames );
|
2001-04-20 20:34:16 +02:00
|
|
|
|
|
|
|
enum NPC_MOTHER_JELLYFISH_STATE
|
|
|
|
{
|
|
|
|
MOTHER_JELLYFISH_RETURN_TO_START_1 = 0,
|
|
|
|
MOTHER_JELLYFISH_CYCLE_1 = 1,
|
|
|
|
MOTHER_JELLYFISH_ATTACK_PLAYER_SPAWN_1,
|
|
|
|
MOTHER_JELLYFISH_RETURN_TO_START_2,
|
|
|
|
MOTHER_JELLYFISH_CYCLE_2,
|
|
|
|
MOTHER_JELLYFISH_ATTACK_PLAYER_SPAWN_2,
|
|
|
|
MOTHER_JELLYFISH_RETURN_TO_START_3,
|
|
|
|
MOTHER_JELLYFISH_CYCLE_3,
|
|
|
|
MOTHER_JELLYFISH_ATTACK_PLAYER_SHOCK,
|
|
|
|
};
|
2001-05-04 22:11:44 +02:00
|
|
|
|
|
|
|
int m_jellyfishCount;
|
|
|
|
s32 m_spawnTimer;
|
2001-04-20 20:34:16 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|