I am not sure where shall i put the game logic code. as the demo show it seems the logic code such as change the anim direction can be place at the clock update. how about the run callback of the engine? What's the different? Which situation are this special for?