mapobjects

package
Version: v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 30, 2021 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetURL

func GetURL() string

GetURL retrieves data about map objects

Types

type MapObjects

type MapObjects struct {
	Type   string  `json:"type"`
	Color  string  `json:"color"`
	Colors []int   `json:"color[]"`
	Blink  int     `json:"blink"`
	Icon   string  `json:"icon"`
	IconBG string  `json:"icon_bg"`
	X      float32 `json:"x"`
	Y      float32 `json:"y"`
	Dx     float32 `json:"dx"`
	Dy     float32 `json:"dy"`
	Sx     float32 `json:"sx"`
	Sy     float32 `json:"sy"`
	Ex     float32 `json:"ex"`
	Ey     float32 `json:"ey"`
}

MapObjects struct contains data about map objects

Source Files

Jump to

Keyboard shortcuts

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