|
bool | isBoundarySet () const |
| Return boundarySet. More...
|
|
var | isBoundarySet () |
| Return boundarySet. More...
|
|
local | isBoundarySet () |
| Return boundarySet. More...
|
|
void | setBoundarySet (bool value) |
| Alter behavior - turn on/off boundary. More...
|
|
var | setBoundarySet ( var value) |
| Alter behavior - turn on/off boundary. More...
|
|
local | setBoundarySet ( local value) |
| Alter behavior - turn on/off boundary. More...
|
|
void | setBoudarySet (bool value) |
var | setBoudarySet ( var value) |
local | setBoudarySet ( local value) |
virtual Follow * | clone () const override |
| Returns a clone of action. More...
|
|
var | clone () |
| Returns a clone of action. More...
|
|
local | clone () |
| Returns a clone of action. More...
|
|
virtual Follow * | reverse () const override |
| Returns a new action that performs the exactly the reverse action. More...
|
|
var | reverse () |
| Returns a new action that performs the exactly the reverse action. More...
|
|
local | reverse () |
| Returns a new action that performs the exactly the reverse action. More...
|
|
virtual void | step (float dt) override |
local | step ( local dt) |
virtual bool | isDone () const override |
| Return true if the action has finished. More...
|
|
var | isDone () |
| Return true if the action has finished. More...
|
|
local | isDone () |
| Return true if the action has finished. More...
|
|
virtual void | stop () override |
| Called after the action has finished. More...
|
|
var | stop () |
| Called after the action has finished. More...
|
|
local | stop () |
| Called after the action has finished. More...
|
|
CC_CONSTRUCTOR_ACCESS | _boundarySet (false) |
CC_CONSTRUCTOR_ACCESS | _boundaryFullyCovered (false) |
CC_CONSTRUCTOR_ACCESS | _leftBoundary (0.0) |
local | _leftBoundary ( local 0) |
CC_CONSTRUCTOR_ACCESS | _rightBoundary (0.0) |
local | _rightBoundary ( local 0) |
CC_CONSTRUCTOR_ACCESS | _topBoundary (0.0) |
CC_CONSTRUCTOR_ACCESS | _bottomBoundary (0.0) |
CC_CONSTRUCTOR_ACCESS | _worldRect (Rect::ZERO) |
virtual | ~Follow () |
bool | initWithTarget (Node *followedNode, const Rect &rect=Rect::ZERO) |
| Initializes the action with a set boundary or with no boundary. More...
|
|
virtual std::string | description () const |
virtual void | startWithTarget (Node *target) |
| Called before the action start. More...
|
|
var | startWithTarget ( var target) |
| Called before the action start. More...
|
|
local | startWithTarget ( local target) |
| Called before the action start. More...
|
|
virtual void | update (float time) |
| Called once per frame. More...
|
|
var | update ( var time) |
| Called once per frame. More...
|
|
local | update ( local time) |
| Called once per frame. More...
|
|
Node * | getTarget () const |
| Return certain target. More...
|
|
void | setTarget (Node *target) |
| The action will modify the target properties. More...
|
|
var | setTarget ( var target) |
| The action will modify the target properties. More...
|
|
local | setTarget ( local target) |
| The action will modify the target properties. More...
|
|
Node * | getOriginalTarget () const |
| Return a original Target. More...
|
|
var | getOriginalTarget () |
| Return a original Target. More...
|
|
local | getOriginalTarget () |
| Return a original Target. More...
|
|
void | setOriginalTarget (Node *originalTarget) |
| Set the original target, since target can be nil. More...
|
|
int | getTag () const |
| Returns a tag that is used to identify the action easily. More...
|
|
var | getTag () |
| Returns a tag that is used to identify the action easily. More...
|
|
local | getTag () |
| Returns a tag that is used to identify the action easily. More...
|
|
void | setTag (int tag) |
| Changes the tag that is used to identify the action easily. More...
|
|
var | setTag ( var tag) |
| Changes the tag that is used to identify the action easily. More...
|
|
local | setTag ( local tag) |
| Changes the tag that is used to identify the action easily. More...
|
|
virtual | ~Action () |
var | ~Action () |
local | ~Action () |
void | retain () |
| Retains the ownership. More...
|
|
void | release () |
| Releases the ownership immediately. More...
|
|
Ref * | autorelease () |
| Releases the ownership sometime soon automatically. More...
|
|
unsigned int | getReferenceCount () const |
| Returns the Ref's current reference count. More...
|
|
virtual | ~Ref () |
| Destructor. More...
|
|
virtual | ~Clonable () |
Ref * | copy () const |
| Returns a copy of the Ref. More...
|
|