module documentation

Ghouls - Downloadable game with asset management.

Class Ghouls Class for the Ghouls game
Function run Run the app.
Function start Start the app.
Function stop Stop the app.
Constant STATE_DOWNLOADING Undocumented
Constant STATE_PLAYING Undocumented
Function __get_asset_info Get the asset name, download link, and save path.
Function __get_asset_list Get the list of assets to download.
Function __init_ghouls Initialize the Ghouls game.
Function __is_assets_loaded Check if at least the first asset is loaded.
Constant _TOTAL_ASSETS Undocumented
Variable _asset_index Undocumented
Variable _ghouls Undocumented
Variable _http Undocumented
Variable _loading Undocumented
Variable _password Undocumented
Variable _username Undocumented
def run(view_manager):

Run the app.

Parameters
view_manager:ViewManagerThe view manager context.
def start(view_manager) -> bool:

Start the app.

Parameters
view_manager:ViewManagerThe view manager context.
Returns
boolTrue on success.
def stop(view_manager):

Stop the app.

Parameters
view_manager:ViewManagerThe view manager context.
STATE_DOWNLOADING =

Undocumented

Value
const(0)
STATE_PLAYING =

Undocumented

Value
const(1)
def __get_asset_info() -> dict:

Get the asset name, download link, and save path.

Returns
dictAsset info with name, url, and path keys.
def __get_asset_list() -> list:

Get the list of assets to download.

Returns
listAsset filenames to download.
def __init_ghouls() -> bool:

Initialize the Ghouls game.

Returns
boolTrue on success.
def __is_assets_loaded(view_manager) -> bool:

Check if at least the first asset is loaded.

Parameters
view_manager:ViewManagerThe view manager context.
Returns
boolTrue if all assets exist.
_TOTAL_ASSETS =

Undocumented

Value
const(27)
_asset_index: int =

Undocumented

_ghouls =

Undocumented

_http =

Undocumented

_loading =

Undocumented

_password =

Undocumented

_username =

Undocumented