SBSPSS/source/triggers/tspeech.cpp
Charles 98eb8b94ce
2001-07-13 18:27:16 +00:00

43 lines
798 B
C++

/*=========================================================================
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 */