Commit 030b4566 authored by Boris Mühmer's avatar Boris Mühmer
Browse files

added some "world" conatainers

parent 65b78caf
Loading
Loading
Loading
Loading
+23 −0
Original line number Diff line number Diff line
# MUOG - Universe

The organisation of the MUOG universe.

## Organisation

* Universe
    * Galaxies
* Galaxy
    * StarSystems
* StarSystem
    * Stars
    * Planets
* Stars
* Planet
    * Moons
    * Zones
* Moon
    * Zones
* Zone


<!-- End Of File -->
 No newline at end of file
+7 −0
Original line number Diff line number Diff line
package universe

// Galaxy is a container for planets.
type Galaxy struct {
	Name        string        // the name of the galaxy
	StarSystems []*StarSystem // star systems belonging to this galaxy
}
+7 −0
Original line number Diff line number Diff line
package universe

// Moon information.
type Moon struct {
	Name  string  // the name of the moon
	Zones []*Zone // zones belonging to this moon
}
+8 −0
Original line number Diff line number Diff line
package universe

// Planet to be done
type Planet struct {
	Name  string  // the name of the planet
	Moons []*Moon // moons belonging to this planet
	Zones []*Zone // zones belonging to this planet
}
+6 −0
Original line number Diff line number Diff line
package universe

// Star contains information.
type Star struct {
	Name string // the name of the star
}
Loading