SBSPSS/source/triggers/tgstop.h

63 lines
1.3 KiB
C
Raw Normal View History

2001-06-04 14:54:44 +02:00
/*=========================================================================
tgstop.h
Author: Charles Blair
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __TRIGGERS_TGSTOP_H__
#define __TRIGGERS_TGSTOP_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __THING_THING_H__
#include "thing/thing.h"
#endif
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CGaryStopTrigger : public CTrigger
{
2001-07-13 22:17:16 +02:00
public:
void init();
2001-08-08 16:19:54 +02:00
void setPositionAndSize(int _x,int _y,int _w,int _h);
2001-07-19 16:57:41 +02:00
bool alwaysThink() {return(true);}
2001-06-04 14:54:44 +02:00
protected:
2001-07-13 22:17:16 +02:00
void collidedWith(CThing *_thisThing);
u8 m_dropped;
2001-06-04 14:54:44 +02:00
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
2001-06-04 15:20:30 +02:00
#endif
2001-06-04 14:54:44 +02:00
/*===========================================================================
end */