I doi something like darklordz said. My program update function works off of a variable, if the variable = this value, update the game, if it equals that variable, update the menu, or maybe another variable updates both.
It works well.
It works well.