Documentation
¶
Index ¶
Constants ¶
View Source
const (
GIF_DELAY = 100
)
Variables ¶
View Source
var (
NeighborOffset = [4][2]int{{0, 1}, {-1, 0}, {0, -1}, {1, 0}}
)
Functions ¶
func DrawMap ¶
func DrawMap(saveData *polytopiamapmodel.PolytopiaSaveOutput) image.Image
func DrawReplay ¶
func DrawReplay(saveData *polytopiamapmodel.PolytopiaSaveOutput, outputFilename string)
Types ¶
type MapCoordinates ¶
type MapCoordinates struct {
Coordinates [2]int
}
Click to show internal directories.
Click to hide internal directories.