modify coco action with new coding rule

This commit is contained in:
Liam 2013-12-26 16:36:21 +08:00
parent bc54707893
commit a158e25767
1 changed files with 9 additions and 9 deletions

View File

@ -34,15 +34,15 @@ using namespace gui;
namespace cocostudio { namespace cocostudio {
ActionNode::ActionNode() ActionNode::ActionNode()
: _currentFrameIndex(0) : _currentFrameIndex(0)
, _destFrameIndex(0) , _destFrameIndex(0)
, _fUnitTime(0.1f) , _fUnitTime(0.1f)
, _actionTag(0) , _actionTag(0)
, _actionSpawn(NULL) , _actionSpawn(NULL)
, _action(NULL) , _action(NULL)
, _object(NULL) , _object(NULL)
, _frameArray(NULL) , _frameArray(NULL)
, _frameArrayNum(0) , _frameArrayNum(0)
{ {
_frameArrayNum = (int)kKeyframeMax; _frameArrayNum = (int)kKeyframeMax;
for(int i = 0; i < _frameArrayNum; i++) for(int i = 0; i < _frameArrayNum; i++)