Methods
(static) assetsLoaded()
Function called on 'complete' event
(static) convertSvgElement(element, callback)
Becouse EaselJS cannot draw SVG fetched by PreloadJS
Parameters:
Name | Type | Description |
---|---|---|
element |
type | |
callback |
type |
(static) fileLoaded()
Function called on 'fileload' event
(static) init()
Loads assets and initializes the application
(static) loadingError()
Function called on 'error' event
(static) resize()
Adjusts the interface according to window size
(static) startGameplay()
Makes the game begin