This commit is contained in:
Charles 2001-06-04 12:54:44 +00:00
parent 30272803d0
commit 25de06c1a6
21 changed files with 595 additions and 41 deletions

View file

@ -2,7 +2,7 @@
tgarygo.cpp
Author: PKG
Author: CRB
Created:
Project: Spongebob
Purpose:
@ -96,10 +96,18 @@ void CGaryStartTrigger::render()
---------------------------------------------------------------------- */
void CGaryStartTrigger::collidedWith(CThing *_thisThing)
{
ASSERT(_thisThing->getThingType()==TYPE_PLAYER);
switch( _thisThing->getThingType() )
{
case TYPE_PLAYER:
{
m_gary->start();
CPlayer *player = (CPlayer *) _thisThing;
m_gary->start();
break;
}
default:
break;
}
}
/*===========================================================================