SBSPSS/source/triggers/tspeech.cpp

44 lines
798 B
C++
Raw Normal View History

2001-07-13 20:27:16 +02:00
/*=========================================================================
tspeech.h
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __TRIGGERS_TSPEECH_H__
#include "triggers\tspeech.h"
#endif
/*----------------------------------------------------------------------
Function:
Purpose:
Params:
Returns:
---------------------------------------------------------------------- */
void CSpeechTrigger::collidedWith(CThing *_thisThing)
{
switch( _thisThing->getThingType() )
{
case TYPE_PLAYER:
{
setToShutdown();
break;
}
default:
break;
}
}
/*===========================================================================
end */