class

Galaxy::Body

Inherits Reference < Object

Constructors

new(id : String, name : String, kind : Kind, radius_km : Float64, color : Color, description : String, orbit : Orbit | Nil = nil, fixed_position : Galaxy::Vector = Vector.new, parent : String | Nil = nil, view_distance : Float64 | Nil = nil)
Source

Instance methods

color
Source
description
Source
fixed_position
Source
kind
Source
name
Source
orbit
Source
parent
Source
radius
Source
view_distance
Source