mirror of https://github.com/axmolengine/axmol.git
modify coco action with new coding rule
This commit is contained in:
parent
bc54707893
commit
a158e25767
|
@ -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++)
|
||||||
|
|
Loading…
Reference in New Issue