--[[ @brief Add a function to be run when requested.
     @param func The function to run.
     @param args... The arguments to pass to the function.
--]]

function FunctionQueue:Add(func, ...)
	local arguments = {...};
	table.insert(self._Functions, {func, arguments});
end
