2001-05-11 00:19:02 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
nbuttfly.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2000 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NBUTTFLY_H__
|
|
|
|
#define __ENEMY_NBUTTFLY_H__
|
|
|
|
|
|
|
|
#ifndef __ENEMY_NSJBACK_H__
|
|
|
|
#include "enemy\nsjback.h"
|
|
|
|
#endif
|
|
|
|
|
2001-05-11 00:35:10 +02:00
|
|
|
#ifndef __SPR_SPRITES_H__
|
|
|
|
#include <sprites.h>
|
|
|
|
#endif
|
|
|
|
|
2001-05-11 00:19:02 +02:00
|
|
|
class CNpcButterflyBackgroundEnemy : public CNpcSmallJellyfishBackgroundEnemy
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
virtual void render();
|
2001-05-11 00:35:10 +02:00
|
|
|
virtual int getFrameCount() {return( FRM_BUTTERFLY_FLAP04 - FRM_BUTTERFLY_FLAP01 + 1 );}
|
2001-05-15 22:34:37 +02:00
|
|
|
virtual u8 canBeCaughtByNet() {return( false );}
|
2001-05-11 00:19:02 +02:00
|
|
|
protected:
|
|
|
|
virtual void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|