Phaser API Documentation

  Version: 
setFlip(x, y)

Description:

Sets the horizontal and vertical flipped state of this Bob.

Parameters:

name type description
x boolean

The horizontal flipped state. false for no flip, or true to be flipped.

y boolean

The horizontal flipped state. false for no flip, or true to be flipped.

Returns:
Description:

This Bob Game Object.

Since: 3.0.0