tweak embed

This commit is contained in:
Josh Deprez 2021-07-26 21:19:12 +10:00 committed by Josh Deprez
parent 17c68f5455
commit 3fab8dbe7a
2 changed files with 2 additions and 2 deletions

View file

@ -8,7 +8,7 @@ import (
type Tilemap struct { type Tilemap struct {
Map [][]int Map [][]int
Src *ebiten.Image Src *ebiten.Image // must be a horizontal tile set
TileSize int TileSize int
GeoM ebiten.GeoM GeoM ebiten.GeoM

View file

@ -12,7 +12,7 @@ import (
const screenWidth, screenHeight = 320, 240 const screenWidth, screenHeight = 320, 240
//go:embed assets/* //go:embed assets
var assets embed.FS var assets embed.FS
func main() { func main() {