|
SDL SPOOKY PLATFORMER ENGINE
0.2.0
An implementation of a platformer using sdl, implemented using an entity component system and efficient collision management.
|
#include <TickTimer.hpp>
Public Member Functions | |
| TickTimer () | |
| ~TickTimer () | |
| Uint32 | get_ticks () |
| void | restart () |
Uses the SDL timer to keep track of how much time has passed.
| TickTimer::TickTimer | ( | ) |
Start the timer at 0.
| TickTimer::~TickTimer | ( | ) |
No behaviour.
| Uint32 TickTimer::get_ticks | ( | ) |
Return how much time has passed since the timie was last started, in milliseconds.
| void TickTimer::restart | ( | ) |
Start the timer from 0 again.
1.4.1