tilemap

package
v0.0.0-...-21c9ebe Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func LoadTileImages

func LoadTileImages(fs fs.FS, levelData *tiled.Map) map[int]*ebiten.Image

Types

type Level

type Level struct {
	LevelData *tiled.Map
	Tiles     map[int]*ebiten.Image
}

func (*Level) DrawLevel

func (level *Level) DrawLevel(screen *ebiten.Image, drawOps ebiten.DrawImageOptions)

Jump to

Keyboard shortcuts

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