Ejemplo n.º 1
0
        protected override void OnUpdating(UltravioletTime time)
        {
            EntityManager.RemoveMarkedEntities();
            GUIManager.Update();
            CollisionManager.SetCurrentWorld(world);
            AudioManager.FetchSongComponents();
            AudioManager.PlaySong();

            CollisionManager.FetchCollisionComponent();
            CollisionManager.UpdateComponents();
            MovementManager.FetchMovementComponent();
            MovementManager.UpdateMovement();
            InputManager.OnUpdateEffectInputs();
            CollisionManager.OnUpdateCollision(time);
            MovementManager.UpdateCorrectionMovement();
            CollisionManager.UpdatePositionEntities();
            GraphicManager.FetchSpriteComponents();
            GraphicManager.UpdateSprites(time);
            RuleManager.UpdateRule();
            base.OnUpdating(time);
        }