class

Galaxy::Renderer

Inherits Reference < Object

Constants

CYAN = Color.new(0.42, 0.85, 0.95)
DIM = Color.new(0.40, 0.49, 0.62)
INK = Color.new(0.79, 0.86, 0.95)
STAR_COLORS = [Color.new(1.0, 0.72, 0.42), Color.new(1.0, 0.90, 0.72), Color.new(0.82, 0.88, 1.0), Color.new(0.46, 0.67, 1.0), Color.new(0.71, 0.64, 1.0)]
STOPS = ["earth", "moon", "mars", "saturn", "solar", "neighborhood", "pleiades", "orion", "galaxy"]

Constructors

new(universe : Universe, navigator : Navigator)
Source

Instance methods

action_at(x : Float64, y : Float64) : String | Nil
Source
draw(canvas : Canvas)
Source
hotspots
Source
pick_at(x : Float64, y : Float64) : String | Nil
Source
picks
Source