aboutsummaryrefslogtreecommitdiffstats
path: root/include/gametime.hpp
blob: c2991d20f8fba2af44e1e50eb9b7d626b17d9bd6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#ifndef GAMETIME_H_
#define GAMETIME_H_

namespace gtime {
    void setTickCount(unsigned int t);
    unsigned int getTickCount(void);
    unsigned int getDeltaTime(void);

    void tick(void);
    void tick(unsigned int ticks);
    bool tickHasPassed(void);

    void mainLoopHandler(void);
}

#endif // GAMETIME_H_