public static CCParticleSmoke node() { CCParticleSmoke pRet = new CCParticleSmoke(); if (pRet.init()) { return(pRet); } return(null); }
public static new CCParticleSmoke node() { CCParticleSmoke cCParticleSmoke = new CCParticleSmoke(); if (cCParticleSmoke.init()) { return(cCParticleSmoke); } return(null); }
public static CCParticleSmoke node() { CCParticleSmoke pRet = new CCParticleSmoke(); if (pRet.init()) { return pRet; } return null; }
public override void OnEnter() { base.OnEnter(); m_emitter = new CCParticleSmoke(); m_background.AddChild(m_emitter, 10); m_emitter.Texture = CCTextureCache.SharedTextureCache.AddImage(TestResource.s_fire); CCPoint p = m_emitter.Position; m_emitter.Position = new CCPoint(p.X, 100); setEmitterPosition(); }