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