mpri-graphics-project/periodic_updates.hpp
Théophile Bastian 0db274b099 Control pause and speed with keyboard
Keys: space for toggle pause, < and > for speed control, 0 to reset
speed
2018-02-14 11:18:36 +01:00

8 lines
154 B
C++

#pragma once
#include "Ball.hpp"
void init_periodic_static(Ball* ball);
void periodic_update();
void periodic_kb_handler(unsigned char key, int, int);