MainLoop Helper functions to use as an application's main loop. Members run void run(EntityManager & em); As long as em.running is true, loops over all Entities with an Execute function Component and calls them with the calculated delta time.