source: trunk/src/timer.h @ 221

Last change on this file since 221 was 221, checked in by sam, 9 years ago

Complete Lol Engine / Deus Hax / Monsterz split.

  • Property svn:keywords set to Id
File size: 643 bytes
Line 
1//
2// Lol Engine
3//
4// Copyright: (c) 2010-2011 Sam Hocevar <sam@hocevar.net>
5//   This program is free software; you can redistribute it and/or
6//   modify it under the terms of the Do What The Fuck You Want To
7//   Public License, Version 2, as published by Sam Hocevar. See
8//   http://sam.zoy.org/projects/COPYING.WTFPL for more details.
9//
10
11//
12// The Timer class
13// ---------------
14//
15
16#if !defined __DH_TIMER_H__
17#define __DH_TIMER_H__
18
19class TimerData;
20
21class Timer
22{
23public:
24    Timer();
25    ~Timer();
26
27    float GetMs();
28    float PollMs();
29    void WaitMs(float deltams);
30
31private:
32    TimerData *data;
33};
34
35#endif // __DH_TIMER_H__
36
Note: See TracBrowser for help on using the repository browser.