Skip to content

SETCAPITAL,SETCITY

stanislawbartkowski edited this page Feb 5, 2019 · 3 revisions

Action

This command builds the city or capital

Format

executeCommand(token,"SETCAPITAL",row,col)

executeCommand(token,"SETCITY",row,col)

Parameters

  • row,col : the square where city or capital is to be built

Itemize

List of points where city or capital can be built. Every element in the list hs a format: { "row" : row, "col : col }

Example:

[{"row" : 1, "col" : 2}, { "row" : 2, "col: 2"} ]

Clone this wiki locally