loader

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 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 SettingsFile

type SettingsFile struct {
	VoidZone     string `json:"void.zone"`
	VoidRoom     string `json:"void.room"`
	StartZone    string `json:"start.zone"`
	StartRoom    string `json:"start.room"`
	DonationZone string `json:"donation.zone"`
	DonationRoom string `json:"donation.room"`
}

type WanderingEntry

type WanderingEntry struct {
	CanWander             bool     `json:"can_wander"`
	CheckFrequencySeconds int      `json:"check_frequency_seconds"`
	CheckPercentage       int      `json:"check_percentage"`
	WanderStyle           int      `json:"wander_style"`
	Path                  []string `json:"path"`
}

type WorldBuilder

type WorldBuilder struct {
	Zones    map[string]*spaces.Zone
	Settings *SettingsFile
	// contains filtered or unexported fields
}

func BuildWorld

func BuildWorld(worldFilesDirectory string) (*WorldBuilder, error)

Build the world, using the files found under the worldFilesDirectory

Jump to

Keyboard shortcuts

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