SBSPSS/source/platform/pbubble.cpp
Charles 4c64c9ed4e
2001-05-09 21:27:23 +00:00

28 lines
598 B
C++

/*=========================================================================
pbubble.cpp
Author: CRB
Created:
Project: Spongebob
Purpose:
Copyright (c) 2001 Climax Development Ltd
===========================================================================*/
#ifndef __PLATFORM_PBUBBLE_H__
#include "platform\pbubble.h"
#endif
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
void CNpcBubblePlatform::processMovement( int _frames )
{
Pos.vy -= m_speed * _frames;
if ( Pos.vy < 0 )
{
setToShutdown();
}
}