SBSPSS/source/enemy/nshell.h

37 lines
768 B
C
Raw Normal View History

2001-04-27 22:41:21 +02:00
/*=========================================================================
nshell.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __ENEMY_NSHELL_H__
#define __ENEMY_NSHELL_H__
2001-05-16 21:45:43 +02:00
#ifndef __ENEMY_NPC_H__
#include "enemy\npc.h"
#endif
2001-04-27 22:41:21 +02:00
class CNpcShellEnemy : public CNpcEnemy
{
2001-05-16 21:45:43 +02:00
public:
2001-07-04 00:17:20 +02:00
void postInit();
2001-07-04 16:26:36 +02:00
void render();
int getFrameCount() {return( 1 );}
int getFrame() {return( m_shellType );}
u8 hasBeenAttacked() {return( false );}
2001-07-31 16:27:43 +02:00
virtual u8 canCollideWithEnemy() {return( false );}
2001-05-16 23:15:50 +02:00
protected:
2001-05-17 17:47:43 +02:00
virtual void collidedWith(CThing *_thisThing);
2001-05-16 23:15:50 +02:00
u8 m_shellType;
2001-04-27 22:41:21 +02:00
};
#endif