Shape.isPipe
Returns whether the shape is a pipe or not.
Kind: Function
Environments: Game
Game
shape:isPipe( )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
Returns:
| Type | Description |
|---|---|
| boolean | Whether the shape was a pipe or not. |
Returns whether the shape is a pipe or not.
Kind: Function
Environments: Game
shape:isPipe( )
Parameters:
| Name | Type | Description |
|---|---|---|
shape |
Shape | The shape. |
Returns:
| Type | Description |
|---|---|
| boolean | Whether the shape was a pipe or not. |