delayCommand(command, delay) {
        delay += this.nTime;
        const id = ++this._lastId;
        this.aCommands.delayed.push({id, command, delay});
        this.bInvalid = true;
        return id;
    }
/**
     * Push a command on the list
     * @param command {function}
     * @param delay {number}
     * @return {number} an identifier that work pretty much like setTimeout
     * and can be used with cancelCommand, in case you want to cancel the command
     */
Push a command on the list
@param command {function}
@param delay {number}
@return {number} an identifier that work pretty much like setTimeout
and can be used with cancelCommand, in case you want to cancel the command
Push a command on the list @param command { function } @param delay { number } @return { number } an identifier that work pretty much like setTimeout and can be used with cancelCommand in case you want to cancel the command
delayCommand(command, delay) {
        delay += this.nTime;
        const id = ++this._lastId;
        this.aCommands.delayed.push({id, command, delay});
        this.bInvalid = true;
        return id;
    }
delayCommand ( command , delay ) { delay += this . nTime ; const id = ++ this . _lastId ; this . aCommands . delayed . push ( { id , command , delay } ) ; this . bInvalid = true ; return id ; }
Push a command on the list
 @param command {function}
 @param delay {number}
 @return {number} an identifier that work pretty much like setTimeout
 and can be used with cancelCommand, in case you want to cancel the command
Push a command on the list @param command { function } @param delay { number } @return { number } an identifier that work pretty much like setTimeout and can be used with cancelCommand in case you want to cancel the command