SBSPSS/source/friend/fgary.h

43 lines
902 B
C
Raw Normal View History

2001-04-27 16:46:29 +02:00
/*=========================================================================
fgary.cpp
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2000 Climax Development Ltd
===========================================================================*/
#ifndef __FRIEND_FGARY_H__
#define __FRIEND_FGARY_H__
#ifndef __FRIEND_FRIEND_H__
#include "friend\friend.h"
#endif
class CNpcGaryFriend : public CNpcFriend
{
public:
2001-05-30 22:24:02 +02:00
virtual void postInit();
virtual void think( int _frames );
virtual void setupWaypoints( sThingActor *ThisActor );
2001-06-04 22:58:12 +02:00
virtual CRECT const *getThinkBBox();
2001-05-30 22:24:02 +02:00
DVECTOR const &getTriggerPos() {return( m_triggerPos );}
2001-06-07 23:44:33 +02:00
void start();
void stop();
2001-06-04 14:54:44 +02:00
void startLeft();
2001-06-04 15:20:30 +02:00
void startRight();
2001-05-31 23:36:10 +02:00
virtual void render();
2001-05-30 22:24:02 +02:00
protected:
DVECTOR m_triggerPos;
u8 m_started;
2001-06-06 18:19:00 +02:00
u8 m_fallDeath;
s16 m_speed;
s16 m_drawRotation;
2001-04-27 16:46:29 +02:00
};
#endif