public static CCFollow actionWithTarget(CCNode followedNode, CCRect rect) { CCFollow follow = new CCFollow(); if ((follow != null) && follow.initWithTarget(followedNode, rect)) { return(follow); } return(null); }
/// <summary> /// creates the action with a set boundary /// </summary> public static CCFollow actionWithTarget(CCNode followedNode, CCRect rect) { CCFollow ret = new CCFollow(); if (ret != null && ret.initWithTarget(followedNode, rect)) { return(ret); } return(null); }
/** creates the action with no boundary set */ public static CCFollow actionWithTarget(CCNode followedNode) { CCFollow ret = new CCFollow(); if (ret != null && ret.initWithTarget(followedNode)) { return ret; } return null; }