Stars Docs
Fall 2026
API

# 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

def numberOfConstellations: Int

The number of constellations visible on this map.

The number of constellations visible on this map.

## Attributes

def numberOfStars: Int

The number of stars visible on this map.

The number of stars visible on this map.

## Attributes

#### Concrete fields

val constellations: Vector[Constellation]
val stars: Vector[Star]