SBSPSS/source/triggers/tsswitch.h
Charles 4411c013b1
2001-06-06 13:27:46 +00:00

69 lines
1.5 KiB
C++

/*=========================================================================
tsswitch.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __TRIGGERS_TSSWITCH_H__
#define __TRIGGERS_TSSWITCH_H__
/*----------------------------------------------------------------------
Includes
-------- */
#ifndef __THING_THING_H__
#include "thing/thing.h"
#endif
#ifndef __TRIGGER_TRIGGER_HEADER__
#include "triggers\trigger.h"
#endif
#include "fx\fx.h"
#include "fx\fxbaseanim.h"
/* Std Lib
------- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
class CSteamSwitchEmitterTrigger : public CTrigger
{
public:
virtual void setPositionAndSize(int _x,int _y,int _w,int _h);
void toggleVisible();
protected:
virtual void collidedWith(CThing *_thisThing);
CFX *m_effect;
u8 m_active;
};
/*----------------------------------------------------------------------
Globals
------- */
/*----------------------------------------------------------------------
Functions
--------- */
/*---------------------------------------------------------------------- */
#endif
/*===========================================================================
end */