worldengine

package
v0.0.0-...-a3e6692 Latest Latest
Warning

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

Go to latest
Published: May 14, 2024 License: CC0-1.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type WorldEngine

type WorldEngine struct {
	IsPaused bool

	SphereFreq float64 // Spins per second.
	SphereNode *mechtree.Node

	HilbertNode *mechtree.Node

	FloorHeight float64 // The elevation of the current floor level above the sea level.
	EyeHeight   float64 // The elevation of the camera above the current floor level.

	Cams  map[principality.Principality]world.Camera   // A camera for each principality.
	Roots map[principality.Principality]*mechtree.Node // Root nodes for each principality.
}

A WorldEngine which embodies the noodlewood Mechane world.

func Init

func Init(wld world.Standard) *WorldEngine

Jump to

Keyboard shortcuts

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