public static new CCParticleMeteor node()
        {
            CCParticleMeteor cCParticleMeteor = new CCParticleMeteor();

            if (cCParticleMeteor.init())
            {
                return(cCParticleMeteor);
            }
            return(null);
        }
Beispiel #2
0
        public static CCParticleMeteor node()
        {
            CCParticleMeteor pRet = new CCParticleMeteor();

            if (pRet.init())
            {
                return(pRet);
            }
            return(null);
        }
 public static CCParticleMeteor node()
 {
     CCParticleMeteor pRet = new CCParticleMeteor();
     if (pRet.init())
     {
         return pRet;
     }
     return null;
 }
Beispiel #4
0
        public override void OnEnter()
        {
            base.OnEnter();

            m_emitter = new CCParticleMeteor();

            m_background.AddChild(m_emitter, 10);

            m_emitter.Texture = CCTextureCache.SharedTextureCache.AddImage(TestResource.s_fire);

            setEmitterPosition();
        }