DarkflameServer/dGame/dEntity/EntityTimer.cpp
2023-06-14 23:16:31 -07:00

23 lines
340 B
C++

#include "EntityTimer.h"
EntityTimer::EntityTimer(const std::string& name, const float& time) {
m_Name = name;
m_Time = time;
}
EntityTimer::~EntityTimer() {
}
std::string EntityTimer::GetName() {
return m_Name;
}
float EntityTimer::GetTime() {
return m_Time;
}
void EntityTimer::Update(float deltaTime) {
m_Time -= deltaTime;
}