repair CCTransitionSplitCols & CCTransitionSplitRows

This commit is contained in:
ivzave 2013-01-15 00:49:05 +04:00
parent 78fc7cb5b5
commit 806398519a
1 changed files with 2 additions and 2 deletions

View File

@ -1444,7 +1444,7 @@ void CCTransitionSplitCols::onEnter()
CCActionInterval* CCTransitionSplitCols:: action() CCActionInterval* CCTransitionSplitCols:: action()
{ {
return CCSplitCols::create(3, m_fDuration/2.0f); return CCSplitCols::create(m_fDuration/2.0f, 3);
} }
@ -1467,7 +1467,7 @@ CCTransitionSplitRows::~CCTransitionSplitRows()
CCActionInterval* CCTransitionSplitRows::action() CCActionInterval* CCTransitionSplitRows::action()
{ {
return CCSplitRows::create(3, m_fDuration/2.0f); return CCSplitRows::create(m_fDuration/2.0f, 3);
} }
CCTransitionSplitRows* CCTransitionSplitRows::create(float t, CCScene* scene) CCTransitionSplitRows* CCTransitionSplitRows::create(float t, CCScene* scene)