示例#1
0
 public void Render(Renderer renderer)
 {
     _background.Render(renderer);
     //renderer.DrawSprite(_planet_28);
     _backgroundLayer.Render(renderer);
     _enemyManager.Render(renderer);
     _playerCharacter.Render(renderer);
     _bulletManager.Render(renderer);
     _effectsManager.Render(renderer);
 }
        public void Render(Renderer renderer)
        {
            _background.Render(renderer);
            _backgroundLayer.Render(renderer);

            // _enemyList.ForEach(x => x.Render(renderer));
            _enemyManager.Render(renderer);
            _playerCharacter.Render(renderer);
            _bulletManager.Render(renderer);
            renderer.Render();
            _effectsManager.Render(renderer);
            renderer.Render();
        }