예제 #1
0
void keyUp(unsigned char key, int x, int y) {
	player.controlEvent(key, false);
	artillery.controlEvent(key, false);
}
예제 #2
0
void keyDown(unsigned char key, int x, int y)
{
	player.controlEvent(key, true);
	artillery.controlEvent(key, true);
}