StarMap

o1.stars.StarMap
class StarMap(val stars: Vector[Star], val constellations: Vector[Constellation])

Each object of type StarMap represents a specific perspective of a night sky.

Parameters

constellations

the constellations visible in the sky

stars

the stars visible in the sky

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

The number of constellations visible on this map.

The number of constellations visible on this map.

Attributes

The number of stars visible on this map.

The number of stars visible on this map.

Attributes

Concrete fields

val stars: Vector[Star]