Use thread in the game engine.