DragonNest/GameCommon/DnBubble.cpp
2024-12-20 16:56:44 +08:00

34 lines
No EOL
1 KiB
C++
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#include "StdAfx.h"
#include "DnBubble.h"
namespace BubbleSystem
{
CDnBubble::CDnBubble( void ) : m_iTypeID( -1 ), m_fDurationTime( 0.0f ), m_fRemainTime( 0.0f ), m_iIconIndex( 0 )
{
}
CDnBubble::~CDnBubble( void )
{
}
void CDnBubble::Process( LOCAL_TIME LocalTime, float fDelta )
{
m_fRemainTime -= fDelta;
if( m_fRemainTime < 0.0f )
m_fRemainTime = 0.0f;
}
bool CDnBubble::IsEnd( void )
{
bool bResult = false;
if( m_fRemainTime <= 0.0f )
bResult = true;
return bResult;
}
};