struct

Galaxy::Star

Inherits Struct < Value < Object

Constructors

new(position : Vector, color : Int32, brightness : Float64, size : Float64)
Source

Instance methods

brightness
clone
Source
color
copy_with(position _position = @position, color _color = @color, brightness _brightness = @brightness, size _size = @size)
Source
position
size