Danbias/Into The Void client/Time.h

21 lines
291 B
C
Raw Normal View History

2013-10-23 00:09:17 +02:00
#pragma once
#ifndef TIME_H
#define TIME_H
class Time
{
public:
enum Result { Failure, Success };
static Result init( );
static void update( );
static float getDeltaTime_Seconds( );
private:
static float secsPerCnt;
static __int64 prevTimeStamp;
static float deltaTime;
};
#endif