mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 23:47:21 +00:00
0545adfac3
Have fun!
22 lines
329 B
C++
22 lines
329 B
C++
#include "EntityTimer.h"
|
|
|
|
EntityTimer::EntityTimer(std::string name, 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;
|
|
} |