starsystem

package
v0.0.0-...-af59c4b Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 13, 2019 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type StarSystem

type StarSystem struct {
	Name string

	// the star system data
	Data *types.StarSystem
	// contains filtered or unexported fields
}

func NewStarSystem

func NewStarSystem(name string, persistence *persistence.PersistenceManager) *StarSystem

func (*StarSystem) DropPlayer

func (starSystem *StarSystem) DropPlayer(player *player.Player) error

func (*StarSystem) Init

func (starSystem *StarSystem) Init() error

func (*StarSystem) JoinPlayer

func (starSystem *StarSystem) JoinPlayer(player *player.Player)

func (*StarSystem) Shutdown

func (starSystem *StarSystem) Shutdown()

func (*StarSystem) UpdatePlayer

func (starSystem *StarSystem) UpdatePlayer(player *player.Player, move *mathf.Vec3, rotation *mathf.Vec3) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL