65 lines
1.4 KiB
C
65 lines
1.4 KiB
C
|
/*=========================================================================
|
||
|
|
||
|
tbemit.h
|
||
|
|
||
|
Author: CRB
|
||
|
Created:
|
||
|
Project: Spongebob
|
||
|
Purpose:
|
||
|
|
||
|
Copyright (c) 2001 Climax Development Ltd
|
||
|
|
||
|
===========================================================================*/
|
||
|
|
||
|
#ifndef __TRIGGERS_TBEMIT_H__
|
||
|
#define __TRIGGERS_TBEMIT_H__
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Includes
|
||
|
-------- */
|
||
|
|
||
|
#ifndef __THING_THING_H__
|
||
|
#include "thing/thing.h"
|
||
|
#endif
|
||
|
|
||
|
#ifndef __TRIGGER_TRIGGER_HEADER__
|
||
|
#include "triggers\trigger.h"
|
||
|
#endif
|
||
|
|
||
|
#include "fx\fx.h"
|
||
|
|
||
|
/* Std Lib
|
||
|
------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Tyepdefs && Defines
|
||
|
------------------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Structure defintions
|
||
|
-------------------- */
|
||
|
|
||
|
class CBubbleEmitterTrigger : public CTrigger
|
||
|
{
|
||
|
public:
|
||
|
virtual void think(int _frames);
|
||
|
virtual void setPositionAndSize(int _x,int _y,int _w,int _h);
|
||
|
protected:
|
||
|
s32 m_timer;
|
||
|
};
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Globals
|
||
|
------- */
|
||
|
|
||
|
/*----------------------------------------------------------------------
|
||
|
Functions
|
||
|
--------- */
|
||
|
|
||
|
/*---------------------------------------------------------------------- */
|
||
|
|
||
|
#endif
|
||
|
|
||
|
/*===========================================================================
|
||
|
end */
|