コード例 #1
0
        public new static CCActionInterval actionWithDuration(float t)
        {
            CCShuffleTiles     shuffle      = new CCShuffleTiles(25, new CCGridSize(16, 12), t);
            CCFiniteTimeAction shuffle_back = shuffle.Reverse();
            CCDelayTime        delay        = new CCDelayTime(2);

            return((CCActionInterval)(CCSequence.FromActions(shuffle, delay, shuffle_back)));
        }
コード例 #2
0
        public static CCFiniteTimeAction ActionWithDuration(float t)
        {
            var shuffle      = new CCShuffleTiles(new CCGridSize(16, 12), t, 25);
            var shuffle_back = shuffle.Reverse();
            var delay        = new CCDelayTime(2);

            return(new CCSequence(shuffle, delay, shuffle_back));
        }
コード例 #3
0
ファイル: EffectsTest.cs プロジェクト: trustme/cocos2d-mono
        public static new CCSequence ActionWithDuration(ccTime t)
        {
            var shuffle = new CCShuffleTiles (25, new ccGridSize (16, 12), t);
            var shuffle_back = shuffle.Reverse ();
            var delay = new CCDelayTime (2);

            return (CCSequence)CCSequence.Actions (shuffle, delay, shuffle_back);
        }