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
Click to show internal directories.
Click to hide internal directories.