SBSPSS/source/triggers/tfemit.h

68 lines
1.5 KiB
C
Raw Normal View History

2001-06-02 00:03:24 +02:00
/*=========================================================================
tfemit.h
Author: PKG
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __TRIGGERS_TFEMIT_H__
#define __TRIGGERS_TFEMIT_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __THING_THING_H__
#include "thing/thing.h"
#endif
#ifndef __TRIGGER_TRIGGER_HEADER__
#include "triggers\trigger.h"
#endif
#include "fx\fx.h"
2001-06-04 21:01:17 +02:00
#include "fx\fxbaseanim.h"
2001-06-02 00:03:24 +02:00
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CFlameEmitterTrigger : public CTrigger
{
public:
virtual void setPositionAndSize(int _x,int _y,int _w,int _h);
2001-06-04 21:01:17 +02:00
void setHeading(int newHeading);
void setSize( int _w, int _h );
2001-06-02 00:03:24 +02:00
protected:
virtual void collidedWith(CThing *_thisThing);
CFX *m_effect;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
2001-06-04 15:20:30 +02:00
#endif
2001-06-02 00:03:24 +02:00
/*===========================================================================
end */