Ajout Sprites + timer + ObjToTxt enlever
ObjToTxt à remplacer pour directement ouvrir un .obj
This commit is contained in:
32
enginecustom/Timerclass.h
Normal file
32
enginecustom/Timerclass.h
Normal file
@@ -0,0 +1,32 @@
|
||||
#ifndef _TIMERCLASS_H_
|
||||
#define _TIMERCLASS_H_
|
||||
|
||||
|
||||
//////////////
|
||||
// INCLUDES //
|
||||
//////////////
|
||||
#include <windows.h>
|
||||
|
||||
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
// Class name: TimerClass
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
class TimerClass
|
||||
{
|
||||
public:
|
||||
TimerClass();
|
||||
TimerClass(const TimerClass&);
|
||||
~TimerClass();
|
||||
|
||||
bool Initialize();
|
||||
void Frame();
|
||||
|
||||
float GetTime();
|
||||
|
||||
private:
|
||||
float m_frequency;
|
||||
INT64 m_startTime;
|
||||
float m_frameTime;
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user