IsMapEngineRunning

From Spheriki

Jump to: navigation, search

Returns true if the map engine is running, false if it isn't.


Contents

Usage

boolean IsMapEngineRunning();


Examples

if (IsMapEngineRunning())
{
  // Code that requires map engine to be running here
}

This simple schematic example shows how this function can be used to bracket code that relies on the map engine running at the time of execution.


Notes

  • This function can be used to find whether or not certain other functions can execute without throwing exceptions, functions which rely on the map engine running or not running at the time of execution.
  • To change whether or not the map engine is running, use MapEngine() to run the map engine, and ExitMapEngine() to shut it down.


See also

Personal tools