Class cc.FlipX
- Defined in: CCActionInstant.js
- Extends cc.ActionInstant
Constructor Attributes | Constructor Name and Description |
---|---|
cc.FlipX()
Flips the sprite horizontally
|
Method Summary
Class Detail
cc.FlipX()
Flips the sprite horizontally
Method Detail
-
- Parameters:
- {Boolean} x
- Returns:
- {cc.FlipX} var flipXAction = cc.FlipX.create(true);
-
{Boolean} initWithFlipX(x)
- Parameters:
- {Boolean} x
- Returns:
- {Boolean}
-
{cc.FiniteTimeAction} reverse()
- Returns:
- {cc.FiniteTimeAction}
-
update(time)
- Parameters:
- {Number} time