65 lines
1.3 KiB
C++
65 lines
1.3 KiB
C++
/*=========================================================================
|
|
|
|
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
|
|
|
|
|
|
/* Std Lib
|
|
------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Tyepdefs && Defines
|
|
------------------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Structure defintions
|
|
-------------------- */
|
|
|
|
class CInWaterTrigger : public CTriggerThing
|
|
{
|
|
protected:
|
|
virtual void collidedWith(CThing *_thisThing);
|
|
|
|
};
|
|
|
|
class COutOfWaterTrigger : public CTriggerThing
|
|
{
|
|
protected:
|
|
virtual void collidedWith(CThing *_thisThing);
|
|
|
|
};
|
|
|
|
/*----------------------------------------------------------------------
|
|
Globals
|
|
------- */
|
|
|
|
/*----------------------------------------------------------------------
|
|
Functions
|
|
--------- */
|
|
|
|
/*---------------------------------------------------------------------- */
|
|
|
|
#endif /* __TRIGGERS_TWATER_H__ */
|
|
|
|
/*===========================================================================
|
|
end */
|