void keyUp(unsigned char key, int x, int y) { player.controlEvent(key, false); artillery.controlEvent(key, false); }
void keyDown(unsigned char key, int x, int y) { player.controlEvent(key, true); artillery.controlEvent(key, true); }