Skip to main content

CCFollow

CCFollow

Cocos2D

Inheritance: System.Object → Cocos2D.CCAction

Implements: Cocos2D.ICCCopyable

Constructors

CCFollow(CCFollow)

CCFollow(CCFollow)(Cocos2D.CCFollow follow)
Parameters:
follow (Cocos2D.CCFollow)

CCFollow(CCNode, CCRect)

CCFollow(CCNode, CCRect)(Cocos2D.CCNode followedNode, Cocos2D.CCRect rect)
Parameters:
followedNode (Cocos2D.CCNode)
rect (Cocos2D.CCRect)

Fields

m_bBoundaryFullyCovered(System.Boolean)
m_bBoundarySet(System.Boolean)
m_fBottomBoundary(System.Single)
m_fLeftBoundary(System.Single)
m_fRightBoundary(System.Single)
m_fTopBoundary(System.Single)
m_obFullScreenSize(Cocos2D.CCPoint)
m_obHalfScreenSize(Cocos2D.CCPoint)
m_pobFollowedNode(Cocos2D.CCNode)

Properties

BoundarySet(System.Boolean)

whether camera should be limited to certain area

IsDone(System.Boolean)

Methods

Copy(ICCCopyable)

System.Object Copy(ICCCopyable)(Cocos2D.ICCCopyable zone)

Copy/Duplicatae protocol for making a self copy of this object instance. If null is given as the parameter then selfie of this instance is returned. Otherwise, the state of this instance is copied to the given target.

Parameters:
zone (Cocos2D.ICCCopyable)
Returns:
System.Object
Example

Step(float)

Step(float)(System.Single dt)
Parameters:
dt (System.Single)
Example

Stop()

Stop()()
Example