Difference between revisions of "Oolite JavaScript Reference: Sun"
From Elite Wiki
(Changed future-scripting tag to added-in-1.70, updated links.) |
m (Oolite/Development/Scripting/Class/Sun moved to Oolite JavaScript Reference: Sun: No longer draft.) |
(No difference)
| |
Revision as of 11:34, 6 December 2007
Prototype: Entity
Subtypes: none
This class was added in Oolite test release 1.70.
The Sun class is an Entity representing a sun. A Sun has all the properties and methods of a Entity, and several others. Currently, Oolite supports at most one sun per system, accessible via the system.sun property.
radius
radius : Number (read-only)
The equatorial radius of the sun, in metres.