public void LoadScene(IScene scene) { _contentManager.Purge(); foreach (var asset in scene.Assets) { _renderer.Add(scene.SpriteBatch, _gameObjectFactory.FromAsset(asset)); } }
public void LoadScene(IScene scene) { _contentManager.Purge(); foreach (var asset in scene.Assets) { _renderer.Add(scene.SpriteBatch, _gameObjectFactory.FromAsset(asset)); } }