kick
/Users/morten/Programmering/cpp/kick/src/kick/core/time.h
00001 //
00002 // Created by morten on 18/05/14.
00003 //
00004 
00005 #pragma once
00006 
00007 #include <iostream>
00008 
00009 namespace kick {
00010     class Engine;
00011 
00012     class Time {
00013     public:
00014         // return time since startup
00015         static float total();
00016         // return time since startup
00017         static float delta();
00018         // return frame count since startup
00019         static long frameCount();
00020         friend class Engine;
00021     private:
00022         static long frame;
00023         static float deltaTime;
00024     };
00025 }
 All Classes Functions Variables