DarkflameServer/dGame/dEntity/EntityTimer.cpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
326 B
C++
Raw Normal View History

#include "EntityTimer.h"
EntityTimer::EntityTimer(std::string name, float time) {
m_Name = name;
m_Time = time;
}
EntityTimer::~EntityTimer() {
2022-07-28 13:39:57 +00:00
}
std::string EntityTimer::GetName() {
return m_Name;
}
float EntityTimer::GetTime() {
return m_Time;
}
void EntityTimer::Update(float deltaTime) {
m_Time -= deltaTime;
}