Class cc.FlipX#ctor
- Defined in: CCActionInstant.js
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
cc.FlipX#ctor(flip)
Create a FlipX action to flip or unflip the target
|
Class Detail
cc.FlipX#ctor(flip)
Create a FlipX action to flip or unflip the target
var flipXAction = new cc.FlipX(true);
- Parameters:
- {Boolean} flip
- Indicate whether the target should be flipped or not