Difference between revisions of "Oolite JavaScript Reference: Station"
From Elite Wiki
m (Moving draft scripting documentation to separate category.) |
(Changed future-scripting tag to added-in-1.70, updated links.) |
||
Line 1: | Line 1: | ||
− | <small>'''Prototype:''' <code>[[Oolite | + | <small>'''Prototype:''' <code>[[Oolite JavaScript Reference: Ship|Ship]]</code></small><br /> |
− | {{Oolite- | + | {{Oolite-class-added|1.70}} |
− | The '''<code>Station</code>''' class is an <code>[[Oolite | + | The '''<code>Station</code>''' class is an <code>[[Oolite JavaScript Reference: Entity|Entity]]</code> representing a station or carrier (i.e., a ship with a docking port). A <code>Station</code> has all the properties and methods of a <code> [[Oolite JavaScript Reference: Ship|Ship]]</code>, and several others. |
== Properties == | == Properties == | ||
Line 9: | Line 9: | ||
isMainStation [read-only boolean] | isMainStation [read-only boolean] | ||
<code>true</code> if the station is the main station of the system, <code>false</code> otherwise. | <code>true</code> if the station is the main station of the system, <code>false</code> otherwise. | ||
+ | |||
+ | [[Category:Oolite scripting]] |
Revision as of 11:29, 6 December 2007
Prototype: Ship
This class was added in Oolite test release 1.70.
The Station
class is an Entity
representing a station or carrier (i.e., a ship with a docking port). A Station
has all the properties and methods of a Ship
, and several others.
Properties
isMainStation
isMainStation [read-only boolean]
true
if the station is the main station of the system, false
otherwise.