mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-12-24 14:33:34 +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;
|
||
|
};
|