Resources and the loading state of each task, indexed by task identifier.
Don't change its state outside of ResourceLoadingQueue.
Private currentThe name of the task for which resources are currently being loaded.
Private currentThe progress, between 0 and 1, of the loading of the resource, for the
task that is being loaded (see currentLoadingTaskIdentifier).
Private getPrivate loadingA queue of loading task whose resources are still to be pre-loaded.
Private namePrivate resourcePrivate shouldAdd a task without starting it.
Put a given scene at the end of the queue.
When the scene that is currently loading in background is done, this scene will be the next to be loaded.
It's set to
trueduring intermediary loading screen to use a greater concurrency as the game is paused and doesn't need bandwidth (for video or music streaming or online multiplayer).