drawers

package
v0.0.0-...-8107f3e Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateFullViewPhoto

func CreateFullViewPhoto(locations []models.Location, players []models.Player, saveTo string) error

CreateFullViewPhoto draws a full map with all the locations no matter if they are not visible. Only for admins.

func CreateMapViewPhoto

func CreateMapViewPhoto(locations []models.Location, players []models.Player, visited [][]bool, saveTo string) error

CreateMapViewPhoto draws a full map but only areas that have been visited will be displayed.

func CreatePartViewPhoto

func CreatePartViewPhoto(locations []models.Location, players []models.Player, drawingCenterX, drawingCenterY, drawingHorizon int, saveTo string) error

CreatePartViewPhoto draws a part-view map where objects are displayed on players horizon.

Types

This section is empty.

Jump to

Keyboard shortcuts

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