JKSV/Source/System/ProgressTask.cpp
2024-12-05 20:04:47 -05:00

17 lines
281 B
C++

#include "ProgressTask.hpp"
void System::ProgressTask::Reset(double Goal)
{
m_Goal = Goal;
}
void System::ProgressTask::UpdateCurrent(double Current)
{
m_Current = Current;
}
double System::ProgressTask::GetCurrentProgress(void) const
{
return m_Current / m_Goal;
}