Difference between revisions of "Vogon"
From GiderosMobile
m (Text replacement - "<source" to "<syntaxhighlight") |
|||
Line 12: | Line 12: | ||
'''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 |