sm.game.getDifficulty
Return the index of the current difficulty setting.
Kind: Function
Environments: Game
Game
sm.game.getDifficulty( )
Returns:
| Name | Type | Description |
|---|---|---|
index |
integer | The difficulty index. |
Return the index of the current difficulty setting.
Kind: Function
Environments: Game
sm.game.getDifficulty( )
Returns:
| Name | Type | Description |
|---|---|---|
index |
integer | The difficulty index. |