Shape.getCompromised

Check if a shape is compromised.

Kind: Function

Environments: Game

Game

shape:getCompromised(  )

Open the full Game reference

Parameters:

Name Type Description
shape Shape The shape.

Returns:

Type Description
boolean Return true if the shape is compromised.