mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-26 23:47:21 +00:00
19 lines
246 B
C
19 lines
246 B
C
|
#pragma once
|
||
|
|
||
|
#include <string>
|
||
|
|
||
|
class EntityTimer {
|
||
|
public:
|
||
|
EntityTimer(std::string name, float time);
|
||
|
~EntityTimer();
|
||
|
|
||
|
std::string GetName();
|
||
|
float GetTime();
|
||
|
|
||
|
void Update(float deltaTime);
|
||
|
|
||
|
private:
|
||
|
std::string m_Name;
|
||
|
float m_Time;
|
||
|
};
|