Documentation ¶
Index ¶
- Constants
- Variables
- func FillRange(getCell func(x, y int) Cell, setCell func(x, y int, cell Cell), ...)
- func Generate(styler Styler, cfg Config) error
- func RegisterStyle(name string, cfg Styler)
- type Cell
- type Config
- type ConfigBox
- type ConfigRooms
- type Fixture
- type FixtureEntry
- type FixtureTarget
- type Flags
- type MapConfig
- type MinMax
- type Place
- type Styler
- type WFCEntry
Constants ¶
View Source
const StyleBox string = "default-box"
View Source
const StyleRooms string = "default-rooms"
Variables ¶
View Source
var (
ErrWrongConfig = errors.New("wrong config type provided")
)
View Source
var Styles = map[string]Styler{}
Functions ¶
func RegisterStyle ¶
Types ¶
type ConfigRooms ¶
type FixtureEntry ¶
type FixtureEntry struct { Targets []FixtureTarget Count MinMax X MinMax Y MinMax }
type FixtureTarget ¶
Click to show internal directories.
Click to hide internal directories.