mapEditor

package
v0.0.0-...-54eea7a Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2020 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddAnomaly

func AddAnomaly(x, y, radius, mapID, power int, typeAnomaly string)

func AddBeam

func AddBeam(x, y, toX, toY, mapID int, color string)

func AddEndColumn

func AddEndColumn(mapID int)

func AddEndRow

func AddEndRow(mapID int)

func AddGeoData

func AddGeoData(x, y, radius, mapdID int)

func AddNewTypeCoordinate

func AddNewTypeCoordinate(typeCoordinate, textureFlore, textureObject, animateSpriteSheets string, animateLoop bool) int

func AddStartColumn

func AddStartColumn(mapID int)

------ Columns ------- //

func AddStartRow

func AddStartRow(mapID int)

------ ROWS ------- //

func ChangeHeightCoordinate

func ChangeHeightCoordinate(coordinate *coordinate.Coordinate, mp *_map.Map, change int)

func ChangeType

func ChangeType(typeID int, move, watch, attack bool)

func CreateNewObject

func CreateNewObject(objectName, animateName string, countSprites, xSize, ySize int) bool

func CreateNewTerrain

func CreateNewTerrain(terrainName string) bool

func DeleteCooordinateByQR

func DeleteCooordinateByQR(x, y, mapID int)

func DeleteType

func DeleteType(idType int)

func InsertMapCoordinate

func InsertMapCoordinate(coordinate *coordinate.Coordinate, mp *_map.Map)

func PlaceCoordinate

func PlaceCoordinate(coordinate *coordinate.Coordinate, mp *_map.Map, newIDType int)

func PlaceHandler

func PlaceHandler(coordinate *coordinate.Coordinate, mp *_map.Map, pos string, toBaseId, toMapId int, typeHandler string)

func PlaceTextures

func PlaceTextures(coordinate *coordinate.Coordinate, mp *_map.Map, textureName string)

func PlaceTransport

func PlaceTransport(coordinate *coordinate.Coordinate, mp *_map.Map)

func RemoveAnomaly

func RemoveAnomaly(id int)

func RemoveBeam

func RemoveBeam(id int)

func RemoveEndColumn

func RemoveEndColumn(mapID int)

func RemoveEndRow

func RemoveEndRow(mapID int)

func RemoveGeoData

func RemoveGeoData(id int)

func RemoveHandler

func RemoveHandler(coordinate *coordinate.Coordinate, mp *_map.Map)

func RemoveStartColumn

func RemoveStartColumn(mapID int)

func RemoveStartRow

func RemoveStartRow(mapID int)

func RemoveTextures

func RemoveTextures(coordinate *coordinate.Coordinate, mp *_map.Map)

func RemoveTransport

func RemoveTransport(coordinate *coordinate.Coordinate, mp *_map.Map)

func ReplaceType

func ReplaceType(oldID, newID int)

func UpdateMapCoordinate

func UpdateMapCoordinate(coordinate *coordinate.Coordinate, mp *_map.Map, oldX, oldY int)

Types

This section is empty.

Jump to

Keyboard shortcuts

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