Last change
on this file since 94 was
94,
checked in by sam, 11 years ago
|
Implement a clean class for various assets that can be ticked both in
the game context and in the render context, and a ticker class that
takes care of the ticking.
|
-
Property svn:keywords set to
Id
|
File size:
309 bytes
|
Line | |
---|
1 | |
---|
2 | /* |
---|
3 | * The tick manager |
---|
4 | */ |
---|
5 | |
---|
6 | #if !defined __DH_TICKER_H__ |
---|
7 | #define __DH_TICKER_H__ |
---|
8 | |
---|
9 | #include <stdint.h> |
---|
10 | |
---|
11 | #include "asset.h" |
---|
12 | |
---|
13 | class Ticker |
---|
14 | { |
---|
15 | public: |
---|
16 | static void Register(Asset *asset); |
---|
17 | |
---|
18 | static void TickGame(float delta_time); |
---|
19 | static void TickRender(float delta_time); |
---|
20 | }; |
---|
21 | |
---|
22 | #endif // __DH_TICKER_H__ |
---|
23 | |
---|
Note: See
TracBrowser
for help on using the repository browser.