world

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2024 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type World

type World interface {
	GetChunk(chunkX int32, chunkZ int32) chunks.Chunk
	SetChunk(chunkX int32, chunkZ int32, chunk chunks.Chunk)

	UnloadChunk(chunkX int32, chunkZ int32)
	GetAllChunks() []chunks.Chunk
}

type WorldManager

type WorldManager interface {
	Compress(chunkX int32, chunkZ int32) uint64

	GetWorld(name string) World

	UnloadWorld(name string)
	LoadWorld(filePath string)
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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