HatchitGame
Main Page
Related Pages
Namespaces
Classes
Files
File List
include
ht_time_singleton.h
1
15
#pragma once
16
17
#include <ht_platform.h>
18
#include <ht_singleton.h>
19
#include <ht_timer.h>
20
21
namespace
Hatchit
{
22
23
namespace
Game {
24
25
class
HT_API
Time
:
public
Core::Singleton<Time>
26
{
27
public
:
28
Time
();
29
30
static
void
Start();
31
32
static
void
Tick();
33
34
static
void
CalculateFPS();
35
36
static
float
DeltaTime();
37
38
static
float
FramesPerSecond();
39
40
static
float
FrameTime();
41
42
static
float
TotalTime();
43
44
static
float
PausedTime();
45
46
private
:
47
Core::Timer* m_timer;
48
float
m_fps;
49
float
m_mspf;
50
};
51
52
}
53
54
}
Hatchit
Hatchit Engine Copyright(c) 2015-2016 Third-Degree.
Definition:
ht_glfwkeyboard.h:21
Hatchit::Game::Time
Definition:
ht_time_singleton.h:25
Generated by
1.8.11