Namespace: main

main

Source:

Methods

(static) assetsLoaded()

Function called on 'complete' event
Source:

(static) convertSvgElement(element, callback)

Becouse EaselJS cannot draw SVG fetched by PreloadJS
Parameters:
Name Type Description
element type
callback type
Source:

(static) fileLoaded()

Function called on 'fileload' event
Source:

(static) init()

Loads assets and initializes the application
Source:

(static) loadingError()

Function called on 'error' event
Source:

(static) resize()

Adjusts the interface according to window size
Source:

(static) startGameplay()

Makes the game begin
Source: