Difference between revisions of "Vogon"

From GiderosMobile
Line 9: Line 9:
 
<br/>
 
<br/>
 
=== <translate>Description</translate> ===
 
=== <translate>Description</translate> ===
<translate>This is just a test of doc gen from a Lua description file
+
<translate>This is just a test of docs gen from the create-wiki-pages.lua script in the plugins folder of the Gideros
 +
repository. From a Lua description file, multiple pages are created which can then be relatively easily
 +
copied and pasted into new pages. Run the file without arguments for instructions.
 
</translate><br/>
 
</translate><br/>
 
=== <translate>Examples</translate> ===
 
=== <translate>Examples</translate> ===

Revision as of 22:53, 14 September 2018


Supported platforms: Platform android.pngPlatform ios.pngPlatform pc.pngPlatform mac.pngPlatform winrt.pngPlatform win32.pngPlatform html5.png

Available since: 2042.11
Inherits from: Sprite


Description

This is just a test of docs gen from the create-wiki-pages.lua script in the plugins folder of the Gideros repository. From a Lua description file, multiple pages are created which can then be relatively easily copied and pasted into new pages. Run the file without arguments for instructions.

Examples

Standard use of a Vogon.

require "Vogon"
local vogon = Vogon.new()
vogon:writePoetry()
vogon:headCPS()

Methods

Vogon.new Create a new Vogon
Vogon:writePoetry Creates abnormally long poem.
Vogon:headCPS Applies for directorship at public institution.

Events

Vogon.IMMINENT_DESTRUCTION
Vogon.POST_DESTRUCTION

Constants

Vogon.STATUS_SIGN_POSTED
Vogon.STATUS_DESTRUCTION_APPROVED