2001-05-08 17:34:15 +02:00
|
|
|
/*=========================================================================
|
|
|
|
|
|
|
|
twater.h
|
|
|
|
|
|
|
|
Author: PKG
|
|
|
|
Created:
|
|
|
|
Project: Spongebob
|
|
|
|
Purpose:
|
|
|
|
|
|
|
|
Copyright (c) 2001 Climax Development Ltd
|
|
|
|
|
|
|
|
===========================================================================*/
|
|
|
|
|
|
|
|
#ifndef __TRIGGERS_TWATER_H__
|
|
|
|
#define __TRIGGERS_TWATER_H__
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Includes
|
|
|
|
-------- */
|
|
|
|
|
|
|
|
#ifndef __THING_THING_H__
|
|
|
|
#include "thing/thing.h"
|
|
|
|
#endif
|
|
|
|
|
2001-06-06 22:27:54 +02:00
|
|
|
#ifndef __TRIGGERS_TRIGGER_H__
|
|
|
|
#include "triggers\trigger.h"
|
|
|
|
#endif
|
|
|
|
|
2001-05-08 17:34:15 +02:00
|
|
|
|
|
|
|
/* Std Lib
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Tyepdefs && Defines
|
|
|
|
------------------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Structure defintions
|
|
|
|
-------------------- */
|
|
|
|
|
2001-05-29 22:31:02 +02:00
|
|
|
class CInWaterTrigger : public CTrigger
|
2001-05-08 17:34:15 +02:00
|
|
|
{
|
|
|
|
protected:
|
|
|
|
virtual void collidedWith(CThing *_thisThing);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
2001-05-29 22:31:02 +02:00
|
|
|
class COutOfWaterTrigger : public CTrigger
|
2001-05-08 17:34:15 +02:00
|
|
|
{
|
|
|
|
protected:
|
|
|
|
virtual void collidedWith(CThing *_thisThing);
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Globals
|
|
|
|
------- */
|
|
|
|
|
|
|
|
/*----------------------------------------------------------------------
|
|
|
|
Functions
|
|
|
|
--------- */
|
|
|
|
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
|
|
|
|
#endif /* __TRIGGERS_TWATER_H__ */
|
|
|
|
|
|
|
|
/*===========================================================================
|
|
|
|
end */
|