SBSPSS/source/enemy/nbuttfly.h

38 lines
865 B
C
Raw Normal View History

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:
2001-07-04 16:26:36 +02:00
void render();
int getFrameCount() {return( FRM_BUTTERFLY_FLAP04 - FRM_BUTTERFLY_FLAP01 + 1 );}
u8 canBeCaughtByNet() {return( false );}
2001-08-15 17:05:44 +02:00
bool allowOffMap() {return(true);}
2001-05-11 00:19:02 +02:00
protected:
2001-07-04 16:26:36 +02:00
void processMovementModifier( int _frames, s32 distX, s32 distY, s32 dist, s16 headingChange );
2001-05-11 00:19:02 +02:00
};
#endif