The delegate class for ActionTween.
More...
#include <CCActionTween.h>
The delegate class for ActionTween.
If you want to use ActionTween on a node. You should implement the node follow these steps:
- The node should be inherit from ActionTweenDelegate.
- Override the virtual method updateTweenAction in the node.
Then once you running ActionTween on the node, the method updateTweenAction will be incoked.
virtual void updateTweenAction |
( |
float |
value, |
|
|
const std::string & |
key |
|
) |
| |
|
pure virtual |
The callback function when ActionTween is running.
- Parameters
-
value | The new value of the specified key. |
key | The key of property which should be updated. |
Implemented in ScrollView.
var updateTweenAction |
( |
var |
value, |
|
|
var |
key |
|
) |
| |
|
pure virtual |
The callback function when ActionTween is running.
- Parameters
-
value | The new value of the specified key. |
key | The key of property which should be updated. |
Implemented in ScrollView.
local updateTweenAction |
( |
local |
value, |
|
|
local |
key |
|
) |
| |
|
pure virtual |
The callback function when ActionTween is running.
- Parameters
-
value | The new value of the specified key. |
key | The key of property which should be updated. |
Implemented in ScrollView.
The documentation for this class was generated from the following file: