SBSPSS/source/enemy/nshell.h

36 lines
739 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-05-16 23:15:50 +02:00
virtual void postInit();
2001-05-16 21:45:43 +02:00
virtual void render();
virtual int getFrameCount() {return( 1 );}
2001-05-16 23:15:50 +02:00
virtual int getFrame() {return( m_shellType );}
2001-05-17 17:47:43 +02:00
virtual u8 hasBeenAttacked() {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