Class cc.FlipY
- Defined in: CCActionInstant.js
- Extends cc.ActionInstant
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
cc.FlipY()
Flips the sprite vertically
|
Method Summary
Class Detail
cc.FlipY()
Flips the sprite vertically
Field Detail
Please use cc.flipY instead
Create a FlipY action to flip or unflip the target
Method Detail
-
ctor(flip)Create a FlipY action to flip or unflip the target Constructor of cc.FlipY
var flipYAction = new cc.FlipY(true);
- Parameters:
- {Boolean} flip
-
{Boolean} initWithFlipY(flip)
- Parameters:
- {Boolean} flip
- Returns:
- {Boolean}
-
{cc.FiniteTimeAction} reverse()
- Returns:
- {cc.FiniteTimeAction}
-
update(time)
- Parameters:
- {Number} time