loader

package
v0.0.0-...-5da52ce Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2025 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadFromFile

func LoadFromFile(fp string, padding int) (cell_map.Map, error)

func LoadFromPrimitive

func LoadFromPrimitive(primitive string, padding int) (cell_map.Map, error)

func SaveToFile

func SaveToFile(cm cell_map.Map, fp string, padding int) error

func ScanPrimitivesByType

func ScanPrimitivesByType() (map[string][]PrimitiveInfo, error)

Types

type PrimitiveInfo

type PrimitiveInfo struct {
	Type     string
	Name     string
	SeedName string
	SeedPath string
}

func ScanPrimitives

func ScanPrimitives() ([]PrimitiveInfo, error)

Jump to

Keyboard shortcuts

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