maps

package
v0.0.0-...-dfb2563 Latest Latest
Warning

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

Go to latest
Published: Nov 3, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DEBUG = true

Functions

This section is empty.

Types

type CaveTest

type CaveTest struct {
	// contains filtered or unexported fields
}

func NewCaveTest

func NewCaveTest(seed int64) *CaveTest

func (*CaveTest) Chunk

func (ct *CaveTest) Chunk(cc coords.Chunk) *mapgen.Chunk

type FlatWorld

type FlatWorld struct {
	// contains filtered or unexported fields
}

func NewFlatWorld

func NewFlatWorld(seed float64) *FlatWorld

Take seed to be consistent with all the other world types

func (*FlatWorld) Block

func (fw *FlatWorld) Block(bc coords.Block) mapgen.Block

func (*FlatWorld) Chunk

func (fw *FlatWorld) Chunk(cc coords.Chunk) *mapgen.Chunk

type MazeArena

type MazeArena struct {
	// contains filtered or unexported fields
}

func NewMazeArena

func NewMazeArena(seed float64) *MazeArena

func (*MazeArena) Block

func (fa *MazeArena) Block(bc coords.Block) mapgen.Block

func (*MazeArena) Chunk

func (fa *MazeArena) Chunk(cc coords.Chunk) *mapgen.Chunk

type PerlinArena

type PerlinArena struct {
	// contains filtered or unexported fields
}

func NewPerlinArena

func NewPerlinArena(seed float64) *PerlinArena

func (*PerlinArena) Block

func (pa *PerlinArena) Block(bc coords.Block) mapgen.Block

func (*PerlinArena) Chunk

func (pa *PerlinArena) Chunk(cc coords.Chunk) *mapgen.Chunk

type SimplexHills

type SimplexHills struct {
	// contains filtered or unexported fields
}

func NewSimplexHills

func NewSimplexHills(seed int64) *SimplexHills

func (*SimplexHills) Chunk

func (sh *SimplexHills) Chunk(cc coords.Chunk) *mapgen.Chunk

Jump to

Keyboard shortcuts

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