Skip to content

DeckLoader

Divided by Zer0 edited this page Jul 11, 2021 · 3 revisions

DeckLoader

Extends: MenuButton

Description

Gathers all deck files on disk and creates a popup menu for the player To select one to load.

Method Descriptions

load_all_decks (static)

func load_all_decks() -> Array

Returns an Array of Dictionaries, where each dictionary is the details of a deck loaded from disk.

Signals

  • signal deck_loaded(deck): This signal carries the chosen deck contents in a dictionary.
Clone this wiki locally