SBSPSS/source/platform/pbubble.cpp
Charles 505f0e17c0
2001-04-23 16:54:49 +00:00

28 lines
608 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 )
{
if ( _frames > 2 )
{
_frames = 2;
}
Pos.vy -= m_data[m_type].speed * _frames;
}