Difference between revisions of "Oolite JavaScript Reference: Station"

From Elite Wiki
(New page: <small>'''Prototype:''' <code>Ship</code></small><br /> {{Oolite-future-scripting}} The '''<code>Station</code>''' class is an <code>[[Oolite/...)
 
m (isMain -> isMainStation)
Line 6: Line 6:
  
 
== Properties ==
 
== Properties ==
=== <code>isMain</code> ===
+
=== <code>isMainStation</code> ===
  isMain [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]]
 
[[Category:Oolite scripting]]

Revision as of 20:02, 2 August 2007

Prototype: Ship

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.