public ParticleRendererManager(RenderingDevice device,
                                IAnimatedModelFactory modelFactory,
                                IAnimatedModelRenderer modelRenderer)
 {
     _spriteRenderer = new SpriteParticleRenderer(device);
     _discRenderer   = new DiscParticleRenderer(device);
     _modelRenderer  = new ModelParticleRenderer(modelFactory, modelRenderer);
 }
    public ParticleSystemsRenderer(
        RenderingDevice renderingDevice,
        ShapeRenderer2d shapeRenderer2d,
        IAnimatedModelFactory modelFactory,
        IAnimatedModelRenderer modelRenderer,
        ParticleSysSystem particleSysSystem
        )
    {
        _renderingDevice   = renderingDevice;
        _shapeRenderer2d   = shapeRenderer2d;
        _particleSysSystem = particleSysSystem;

        _rendererManager = new ParticleRendererManager(
            renderingDevice,
            modelFactory,
            modelRenderer
            );
    }
Beispiel #3
0
 public ModelParticleRenderer(IAnimatedModelFactory aasFactory,
                              IAnimatedModelRenderer aasRenderer)
 {
     _modelFactory  = aasFactory;
     _modelRenderer = aasRenderer;
 }