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

9 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);