2001-04-23 20:18:19 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
pfishhk.h
|
|
|
|
|
|
|
|
Author: CRB
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PFISHHK_H__
|
|
|
|
#define __PLATFORM_PFISHHK_H__
|
|
|
|
|
|
|
|
#ifndef __PLATFORM_PLATFORM_H__
|
|
|
|
#include "platform\platform.h"
|
|
|
|
#endif
|
|
|
|
|
|
|
|
class CNpcFishHookPlatform : public CNpcPlatform
|
|
|
|
{
|
|
|
|
public:
|
2001-04-25 22:04:25 +02:00
|
|
|
virtual void postInit();
|
2001-05-09 15:22:04 +02:00
|
|
|
virtual void render();
|
2001-05-14 20:48:54 +02:00
|
|
|
virtual CRECT const *getThinkBBox();
|
2001-04-23 20:18:19 +02:00
|
|
|
protected:
|
|
|
|
virtual void processLifetime( int _frames );
|
|
|
|
virtual void processMovement( int _frames );
|
|
|
|
|
2001-04-25 22:04:25 +02:00
|
|
|
u8 m_isMoving;
|
2001-05-14 17:14:39 +02:00
|
|
|
u8 m_isResetting;
|
2001-05-09 15:22:04 +02:00
|
|
|
DVECTOR m_lineBase;
|
2001-04-23 20:18:19 +02:00
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|