Beispiel #1
0
        public static new CCFlipY3D actionWithDuration(float duration)
        {
            CCFlipY3D cCFlipY3D = new CCFlipY3D();

            if (cCFlipY3D != null)
            {
                cCFlipY3D.initWithSize(new ccGridSize(1, 1), duration);
            }
            return(cCFlipY3D);
        }
        /** creates the action with duration */
        public static CCFlipY3D actionWithDuration(float duration)
        {
            CCFlipY3D pAction = new CCFlipY3D();

            if (pAction != null)
            {
                if (pAction.initWithSize(new ccGridSize(1, 1), duration))
                {
                    // pAction->autorelease();
                }
                else
                {
                    // CC_SAFE_RELEASE_NULL(pAction);
                }
            }

            return pAction;
        }
Beispiel #3
0
        /** creates the action with duration */
        public static CCFlipY3D actionWithDuration(float duration)
        {
            CCFlipY3D pAction = new CCFlipY3D();

            if (pAction != null)
            {
                if (pAction.initWithSize(new ccGridSize(1, 1), duration))
                {
                    // pAction->autorelease();
                }
                else
                {
                    // CC_SAFE_RELEASE_NULL(pAction);
                }
            }

            return(pAction);
        }