Exemplo n.º 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);
        }
Exemplo n.º 2
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);
        }
Exemplo n.º 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;
        }