Exemple #1
0
        public static CCLiquid actionWithWaves(int wav, float amp, ccGridSize gridSize, float duration)
        {
            CCLiquid cCLiquid = new CCLiquid();

            if (cCLiquid != null)
            {
                cCLiquid.initWithWaves(wav, amp, gridSize, duration);
            }
            return(cCLiquid);
        }
        /** creates the action with amplitude, a grid and duration */
        public static CCLiquid actionWithWaves(int wav, float amp, ccGridSize gridSize, float duration)
        {
            CCLiquid pAction = new CCLiquid();

            if (pAction != null)
            {
                if (pAction.initWithWaves(wav, amp, gridSize, duration))
                {
                    // pAction->autorelease();
                }
                else
                {
                    // CC_SAFE_RELEASE_NULL(pAction);
                }
            }

            return(pAction);
        }
Exemple #3
0
        /** creates the action with amplitude, a grid and duration */
        public static CCLiquid actionWithWaves(int wav, float amp, ccGridSize gridSize, float duration)
        {
            CCLiquid pAction = new CCLiquid();

            if (pAction != null)
            {
                if (pAction.initWithWaves(wav, amp, gridSize, duration))
                {
                    // pAction->autorelease();
                }
                else
                {
                    // CC_SAFE_RELEASE_NULL(pAction);
                }
            }

            return pAction;
        }