Difference between revisions of "Vogon"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
(3 intermediate revisions by one other user not shown) | |||
Line 7: | Line 7: | ||
=== <translate>Description</translate> === | === <translate>Description</translate> === | ||
− | <translate> | + | <translate>Main Vogon class. |
− | |||
− | |||
− | |||
− | |||
− | |||
</translate><br/> | </translate><br/> | ||
=== <translate>Example</translate> === | === <translate>Example</translate> === | ||
'''Standard use of a Vogon.'''<br/> | '''Standard use of a Vogon.'''<br/> | ||
− | < | + | <syntaxhighlight lang="lua">require "Vogon" |
local vogon = Vogon.new() | local vogon = Vogon.new() | ||
local poetry = vogon:writePoetry(topic) | local poetry = vogon:writePoetry(topic) |
Latest revision as of 14:32, 13 July 2023
Supported platforms:
Available since: 2042.11
Inherits from: Cryptography
Description
Main Vogon class.
Example
Standard use of a Vogon.
<syntaxhighlight lang="lua">require "Vogon"
local vogon = Vogon.new()
local poetry = vogon:writePoetry(topic)
local number_of_deaths = vogon:recitePoetry()
</source>
MethodsVogon.new Create a new Vogon |
EventsVogon.DESTRUCTION_IMMINENT Constants |