Skip to content

@v12-engine/editor/map-command ​

Interfaces ​

NameWhat
MapCommandGame betaA game the map command knows: its rules, its look (the ground's tiles of its pictures), and generators besides its own (--generator id)
MapCommandOptions betaWhat the map command works with (mapCommand)

Functions ​

NameWhat
mapCommand betaRuns a map command, given what comes after map (['check'], ['picture', 'a.vgmap.json', 'a.png']): the games and their folders are the caller's. Gives back the exit code

Types ​

NameWhat
MapScript betaWhat a script for map run is: given an editor on the map, it changes it; the map is saved when it ends