Class cc.FlipX

Class Summary
Constructor Attributes Constructor Name and Description
 
Flips the sprite horizontally

Method Summary

Class Detail

cc.FlipX()
Flips the sprite horizontally

Method Detail

  • <static> {cc.FlipX} cc.FlipX.create(x)
    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