Module Stardust

Global module.

Functions

loadListByDemo (player) Loads a new 3x table and a default army list for all players.
loadListByBuilding (player) Opens a list builder for the current player.
loadListByImporting (player) Opens an import dialog to import/upload a list.
clearTable () Clears (destroys) the current table.
loadTable (player, size) Loads a new table based on the parameter passed by the UI.


Functions

loadListByDemo (player)
Loads a new 3x table and a default army list for all players.

Parameters:

  • player Player that clicked to load a list.

    Clears the table, load a new `3x3` one, and loads default armies.

loadListByBuilding (player)
Opens a list builder for the current player.

Parameters:

  • player Player that clicked to load a list.
loadListByImporting (player)
Opens an import dialog to import/upload a list.

Parameters:

  • player Player that clicekd to import a list.
clearTable ()
Clears (destroys) the current table.
loadTable (player, size)
Loads a new table based on the parameter passed by the UI.

Parameters:

  • player Player that clicked the button.
  • size Size of the table as expressed by a string, i.e. `3x3`.
generated by LDoc 1.4.6 Last updated 2020-05-19 00:07:14