SBSPSS/source/triggers/tgarygo.cpp

73 lines
1.4 KiB
C++
Raw Normal View History

2001-05-30 22:22:25 +02:00
/*=========================================================================
tgarygo.cpp
2001-06-04 14:54:44 +02:00
Author: CRB
2001-05-30 22:22:25 +02:00
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
/*----------------------------------------------------------------------
Includes
-------- */
#include "triggers\trigger.h"
#include "triggers\tgarygo.h"
#ifndef __GAME_GAME_H__
#include "game\game.h"
#endif
/* Std Lib
------- */
/* Data
---- */
/*----------------------------------------------------------------------
Tyepdefs && Defines
------------------- */
/*----------------------------------------------------------------------
Structure defintions
-------------------- */
/*----------------------------------------------------------------------
Function Prototypes
------------------- */
/*----------------------------------------------------------------------
Vars
---- */
/*----------------------------------------------------------------------
Function:
Purpose:
Params:
Returns:
---------------------------------------------------------------------- */
void CGaryStartTrigger::collidedWith(CThing *_thisThing)
{
2001-06-04 14:54:44 +02:00
switch( _thisThing->getThingType() )
{
case TYPE_PLAYER:
{
m_gary->start();
break;
}
2001-05-30 22:22:25 +02:00
2001-06-04 14:54:44 +02:00
default:
break;
}
2001-05-30 22:22:25 +02:00
}
/*===========================================================================
end */