Beispiel #1
0
        public override void Update(float time, float deltaTime)
        {
            base.Update(time, deltaTime);

            // we have completed lets pump the asset queue again!
            PumpAssetLoading();

            while (_internalCompletedQueue.Count != 0)
            {
                AssetLoadRequest cpTask = _internalCompletedQueue.Dequeue();
                if (cpTask.HasFailed)
                {
                    cpTask.OnFailure();
                }
                else
                {
                    cpTask.OnComplete();
                }
            }
        }