maptiles

package
v0.0.0-...-d0756c4 Latest Latest
Warning

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

Go to latest
Published: May 5, 2024 License: Apache-2.0 Imports: 14 Imported by: 1

Documentation

Overview

Package maptiles implements a map tiles skeleton package implementing the tiles á la Google maps. See: https://www.maptiler.com/google-maps-coordinates-tile-bounds-projection

Index

Constants

View Source
const (
	ScreenWidth  = 480
	ScreenHeight = 480
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Game

type Game struct {
	Font font.Face
	// contains filtered or unexported fields
}

func NewGame

func NewGame(w *genworldvoronoi.Map) (*Game, error)

func (*Game) Draw

func (g *Game) Draw(screen *ebiten.Image)

func (*Game) Layout

func (g *Game) Layout(outsideWidth, outsideHeight int) (int, int)

func (*Game) Update

func (g *Game) Update() error

Jump to

Keyboard shortcuts

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