prefixing ivars

This commit is contained in:
mannewalis 2014-07-03 10:16:10 -07:00
parent 96605f801c
commit 4b1f2ccc91
1 changed files with 8 additions and 8 deletions

View File

@ -1310,8 +1310,8 @@ Mat4 Node::transform(const Mat4& parentTransform)
void Node::onEnter()
{
if (onEnterCallback)
onEnterCallback();
if (_onEnterCallback)
_onEnterCallback();
#if CC_ENABLE_SCRIPT_BINDING
if (_scriptType == kScriptTypeJavascript)
@ -1340,8 +1340,8 @@ void Node::onEnter()
void Node::onEnterTransitionDidFinish()
{
if (onEnterTransitionDidFinishCallback)
onEnterTransitionDidFinishCallback();
if (_onEnterTransitionDidFinishCallback)
_onEnterTransitionDidFinishCallback();
#if CC_ENABLE_SCRIPT_BINDING
if (_scriptType == kScriptTypeJavascript)
@ -1365,8 +1365,8 @@ void Node::onEnterTransitionDidFinish()
void Node::onExitTransitionDidStart()
{
if (onExitTransitionDidStartCallback)
onExitTransitionDidStartCallback();
if (_onExitTransitionDidStartCallback)
_onExitTransitionDidStartCallback();
#if CC_ENABLE_SCRIPT_BINDING
if (_scriptType == kScriptTypeJavascript)
@ -1389,8 +1389,8 @@ void Node::onExitTransitionDidStart()
void Node::onExit()
{
if (onExitCallback)
onExitCallback();
if (_onExitCallback)
_onExitCallback();
#if CC_ENABLE_SCRIPT_BINDING
if (_scriptType == kScriptTypeJavascript)