package
0.0.0-20201013032118-580ad5552417
Repository: https://github.com/classandrew/apertureserver.git
Documentation: pkg.go.dev

# Functions

GeneratePlanet Generates a planet with random attributes.
GeneratePos by default will set index to 0.
GenerateStar generates a star and returns its pointer.
GenerateStarSystem generates a star system.
NewStarSystem allocates memory for the star system and return a pointer to an empty one.

# Constants

Alnum alphanumeric.
MAXSIZE maximum size of the galaxy.

# Variables

PM Singleton of the playermanager struct.

# Structs

Planet planet struct.
PlayerManager struct of default values to give to newly created players.
Position of a celestial body.
Star star struct.
StarSystem The star system holds data of planets and the star(s) (perhaps I could add binary, ternary, quaternary stars and moons as well).
UserData contains User's information.

# Interfaces

Body interface for general celestial / built bodies in space.