Sets X’s scale on itself and it’s followers
Class CCSpritePlus
No description provided
Examples0
Public static methods0
Public member functions11
virtualvoidsetScaleY(floatfScaleY)
Sets Y’s scale on itself and it’s followers
fScaleY
the scale of Y to s *
virtualvoidsetScale(floatfScale)
Sets the Scale of itself and it’s followers
fScale
the scale value to s *
virtualvoidsetPosition()
Sets the position where the sprite will be at and it’s followers
pos
the position to place to the sprite and it's followe *
virtualvoidsetRotation(floatfRotation)
Sets the sprite’s given rotation and it’s followers
fRotation
the rotation value to s *
virtualvoidsetRotationX(floatfRotationX)
Sets the sprite’s given rotation of X and it’s followers
fRotationX
the rotation of X to se *
virtualvoidsetRotationY(floatp0)
Sets the sprite’s given rotation of Y and it’s followers
fRotationY
the roation of Y to s *
virtualboolinitWithTexture(cocos2d::CCTexture2D*texture)
Initalizes the sprite using a texture
texture
the texture to initalize the sprite with
true if initalization succeede *
virtualboolinitWithSpriteFrameName()
Initalizes the sprite with a frame name
frame
the frame to initalize the sprite with
true if initalization succeed *
Fields6
cocos2d::CCArray*m_followers;
No description provided
CCSpritePlus*m_followingSprite;
No description provided
boolm_hasFollower;
No description provided
boolm_propagateScaleChanges;
No description provided
boolm_propagateFlipChanges;
No description provided
uint8_t[1]__pad234;
No description provided