private void GameLoop() { _tmr.Restart(); Utils.ProcessEvents(); _ui.Update(_tmr.DeltaTime); _collsion.UpdateCollsions(_world.GetComponents <CollsionComponent>(), _ui.GetComponents <CollsionComponent>()); Statistics.Update(); _input.ProcessInput(_ui, _tmr); _world.Update(_tmr.DeltaTime); _sound.PlaySounds(_world.GetComponents <SoundComponet>()); _graphics.Render(_world.GetComponents <GraphicsComponent>(), _ui.GetComponents <GraphicsComponent>()); Utils.RefreshScreen(); }