mElite
1.0
An Elite clone based on TextElite by Jan-Philipp Kappmeier and Melanie Schmidt.
Main Page
Classes
Files
File List
File Members
All
Classes
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Friends
Macros
mElite
FrameCounter.h
Go to the documentation of this file.
1
6
#pragma once
7
9
class
FrameCounter
{
10
public
:
11
FrameCounter
(
void
);
12
~FrameCounter
(
void
);
13
void
update
(
void
);
14
long
getFrameStart
(
void
);
15
float
getFrameTimeAverage
(
void
);
16
long
getFrameTimeCurrent
(
void
);
17
long
getFrameTimeLast
(
void
);
18
long
getTime
(
void
);
19
void
newFrame
(
void
);
20
int
getFrameRateAverage
(
void
);
21
private
:
22
long
m_frameStart;
23
int
frames;
24
long
start;
25
int
fps;
26
long
m_lastFrameTime;
27
};
Generated on Tue Oct 2 2012 14:38:37 for mElite by
1.8.2