Sets X’s scale on itself and it’s followers
Class CCSpritePlus
#include <Geode/binding/CCSpritePlus.hpp>
classCCSpritePlus:publiccocos2d::CCSprite{ ... }
No description provided
Examples0
Public static methods0
Public member functions12
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 *
virtualvoidsetFlipX(boolflipX)
Sets flipX to itself and it’s followers
flipX
the direction that the sprite should be flipped *
virtualvoidsetFlipY(boolflipY)
Sets flipY to itself and it’s followers
flipY
the direction that the sprite should be flipped *
voidremoveFollower(cocos2d::CCNode*sprite)
Removes a specific following sprite from this sprite.
sprite
follower sprite that will be remove *
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]__pad244;
No description provided