SBSPSS/source/platform/pbubble.cpp

28 lines
611 B
C++
Raw Normal View History

2001-04-23 18:54:49 +02:00
/*=========================================================================
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_data[m_type].speed * _frames;
2001-05-05 01:12:26 +02:00
if ( Pos.vy < 0 )
{
setToShutdown();
}
2001-04-23 18:54:49 +02:00
}