Quit

From MaratisWiki
Revision as of 17:55, 8 February 2014 by Dahnielson (Talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

quit()

Bind a key to quit the game

Example :

   function onSceneUpdate()
       if isKeyPressed("K") then quit() end
   end
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox