application.startCurrentGame

Starts playing the currently loaded game.

Prototype

  1. bOk = application.startCurrentGame ( )

Description

Continues to play the game after pausing, does not rewind. If you want to rewind the game, use stop() first.


Return values

bOk - true on success


Sample

  1. function onPlayPause ( )
  2.  
  3. if ( application.isCurrentGameRunning ( ) )
  4. then
  5. application.pauseCurrentGame ( )
  6. else
  7. application.startCurrentGame ( )
  8. end
  9. end

Available since ShiVa 2.0