source: trunk/src/debugfps.h @ 112

Last change on this file since 112 was 111, checked in by sam, 11 years ago

The frame counter is now an asset object.

  • Property svn:keywords set to Id
File size: 474 bytes
Line 
1//
2// Deus Hax (working title)
3// Copyright (c) 2010 Sam Hocevar <sam@hocevar.net>
4//
5
6//
7// The DebugFps class
8// ------------------
9//
10
11#if !defined __DH_DEBUGFPS_H__
12#define __DH_DEBUGFPS_H__
13
14#include "asset.h"
15
16class DebugFpsData;
17
18class DebugFps : public Asset
19{
20public:
21    DebugFps();
22    virtual ~DebugFps();
23
24protected:
25    virtual Group GetGroup();
26    virtual void TickRender(float delta_time);
27
28private:
29    DebugFpsData *data;
30};
31
32#endif // __DH_DEBUGFPS_H__
33
Note: See TracBrowser for help on using the repository browser.