sets

package
v0.0.0-...-16767da Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadSets

func LoadSets(dir string) (map[string]*MapSet, error)

Types

type MapSet

type MapSet struct {
	Description string

	SurfaceCount int
	LeftCount    int
	RightCount   int
	CenterCount  int

	Palette []string

	// TODO: is there any more structure than this? Should I preserve empty lines?
	SurfacePalette []string
	LeftPalette    []string
	RightPalette   []string
	CenterPalette  []string
}

func LoadSet

func LoadSet(filename string) (*MapSet, error)

func (*MapSet) Count

func (m *MapSet) Count() int

Jump to

Keyboard shortcuts

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