function callFirstFrame(callback) {
        // warn unresolved dependencies
        if (dependenciesQueue.length > 0)
            console.warn("There is unresolved dependencies! Your game might not have loaded properly.", dependenciesQueue);
        // kickstart things
        if (typeof callback === 'function') callback.call(environment);
        running = true;
        Sylx.log("Sylx: Game is now running!");
        animationFrame = window.requestAnimationFrame(runFrame.bind(environment));
    }
/**
     * Calls the first request animation frame once the game is ready to run
     * @param {function} callback - Callback function once the frame animation has been requested
     */
Calls the first request animation frame once the game is ready to run
@param {function} callback - Callback function once the frame animation has been requested
Calls the first request animation frame once the game is ready to run @param { function } callback - Callback function once the frame animation has been requested
function callFirstFrame(callback) {
        if (dependenciesQueue.length > 0)
            console.warn("There is unresolved dependencies! Your game might not have loaded properly.", dependenciesQueue);
        if (typeof callback === 'function') callback.call(environment);
        running = true;
        Sylx.log("Sylx: Game is now running!");
        animationFrame = window.requestAnimationFrame(runFrame.bind(environment));
    }
function callFirstFrame ( callback ) { if ( dependenciesQueue . length > 0 ) console . warn ( "There is unresolved dependencies! Your game might not have loaded properly." , dependenciesQueue ) ; if ( typeof callback === 'function' ) callback . call ( environment ) ; running = true ; Sylx . log ( "Sylx: Game is now running!" ) ; animationFrame = window . requestAnimationFrame ( runFrame . bind ( environment ) ) ; }
Calls the first request animation frame once the game is ready to run
 @param {function} callback - Callback function once the frame animation has been requested
Calls the first request animation frame once the game is ready to run @param { function } callback - Callback function once the frame animation has been requested
// warn unresolved dependencies // kickstart things