Last change
on this file since 126 was
126,
checked in by sam, 11 years ago
|
Minor updates here and there. Not worth mentioning.
|
-
Property svn:keywords set to
Id
|
File size:
496 bytes
|
Line | |
---|
1 | // |
---|
2 | // Deus Hax (working title) |
---|
3 | // Copyright (c) 2010 Sam Hocevar <sam@hocevar.net> |
---|
4 | // |
---|
5 | |
---|
6 | // |
---|
7 | // The Ticker class |
---|
8 | // ---------------- |
---|
9 | // The Ticker is a static class that registers assets and ticks them. |
---|
10 | // |
---|
11 | |
---|
12 | #if !defined __DH_TICKER_H__ |
---|
13 | #define __DH_TICKER_H__ |
---|
14 | |
---|
15 | #include <stdint.h> |
---|
16 | |
---|
17 | #include "asset.h" |
---|
18 | |
---|
19 | class Ticker |
---|
20 | { |
---|
21 | public: |
---|
22 | static void Register(Asset *asset); |
---|
23 | |
---|
24 | static void TickGame(); |
---|
25 | static void TickRender(); |
---|
26 | static void ClampFps(float delta_time); |
---|
27 | }; |
---|
28 | |
---|
29 | #endif // __DH_TICKER_H__ |
---|
30 | |
---|
Note: See
TracBrowser
for help on using the repository browser.