Reactor.RParticleEmitter.CreateEmitter C# (CSharp) Method

CreateEmitter() private method

private CreateEmitter ( CONST_REACTOR_PARTICLETYPE type ) : void
type CONST_REACTOR_PARTICLETYPE
return void
        internal void CreateEmitter(CONST_REACTOR_PARTICLETYPE type)
        {
            _type = type;
            if (type == CONST_REACTOR_PARTICLETYPE.Billboard)
            {
                _emitter = new BillboardParticleEmitter();
                _emitter.LoadContent();
            }
            else if (type == CONST_REACTOR_PARTICLETYPE.Point)
            {
                _psystem = new PointParticleSystem(REngine.Instance._game);
                _psystem.Initialize();
            }
        }