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/Development/Scripting/Class/Ship|Ship]]</code></small><br />
+
<small>'''Prototype:''' <code>[[Oolite JavaScript Reference: Ship|Ship]]</code></small><br />
  
{{Oolite-future-scripting}}
+
{{Oolite-class-added|1.70}}
  
The '''<code>Station</code>''' class is an <code>[[Oolite/Development/Scripting/Class/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/Development/Scripting/Class/Ship|Ship]]</code>, and several others.
+
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 12: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.