mirror of
https://github.com/Squareville/TestEventServer.git
synced 2026-01-05 09:10:32 -06:00
Public release of the DLU server code!
Have fun!
This commit is contained in:
22
dGame/dEntity/EntityTimer.cpp
Normal file
22
dGame/dEntity/EntityTimer.cpp
Normal file
@@ -0,0 +1,22 @@
|
||||
#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;
|
||||
}
|
||||
Reference in New Issue
Block a user