SBSPSS/source/platform/pbubble.cpp

28 lines
598 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 )
{
2001-05-09 23:27:23 +02:00
Pos.vy -= m_speed * _frames;
2001-05-05 01:12:26 +02:00
if ( Pos.vy < 0 )
{
setToShutdown();
}
2001-04-23 18:54:49 +02:00
}