world

package
v0.0.21 Latest Latest
Warning

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

Go to latest
Published: Aug 14, 2022 License: BSD-2-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Config

func Config(c config.Config)

Config sets up package configuration for settings that can't be constants. It should be called by main, only once, before anything else starts. Once the configuration is set it should be treated as immutable an not changed.

func Load

func Load()

Load creates the game world.

BUG(diddymus): Load will populate core.World directly as a side effect of being called. The core package can't import the world package as it would cause a cyclic import.

func PreProcessor

func PreProcessor(j recordjar.Jar)

PreProcessor runs the pre-processor on the specified Jar, modifying the content of the Jar in the process.

Types

This section is empty.

Notes

Bugs

  • Load will populate core.World directly as a side effect of being called. The core package can't import the world package as it would cause a cyclic import.

Jump to

Keyboard shortcuts

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