mirror of
https://github.com/J-D-K/JKSV.git
synced 2026-07-14 15:11:58 -05:00
17 lines
281 B
C++
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;
|
|
}
|