This commit is contained in:
Charles 2001-05-30 20:22:25 +00:00
parent 00a96344f9
commit 650f284e4a
2 changed files with 174 additions and 0 deletions

68
source/triggers/tgarygo.h Normal file
View file

@ -0,0 +1,68 @@
/*=========================================================================
tgarygo.h
Author: Charles Blair
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __TRIGGERS_TGARYGO_H__
#define __TRIGGERS_TGARYGO_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __THING_THING_H__
#include "thing/thing.h"
#endif
#ifndef __FRIEND_FGARY_H__
#include "friend\fgary.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CGaryStartTrigger : public CTrigger
{
public:
#if defined (__USER_art__) || defined (__USER_sbart__)
virtual void render();
#endif
virtual void setGary( CNpcGaryFriend *gary ) {m_gary = gary;}
protected:
virtual void collidedWith(CThing *_thisThing);
CNpcGaryFriend *m_gary;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif /* __TRIGGERS_TPLATFRM_H__ */
/*===========================================================================
end */