public void LoadContent()
{
m_vDec = new VertexDeclaration(BillboardParticleElement.VertexElements);
shader = REngine.Instance._resourceContent.Load<Effect>("Billboard");
myLastpos = targetPos;
}
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(); } }