#pragma once

/*
	GameEngine and Editor
	by John Ryland
	Copyright (c) 2023
*/

////////////////////////////////////////////////////////////////////////////////////
//	XML Parser

#include <string>
#include <vector>
#include <unordered_map>

struct XmlTag
{
	XmlTag*                                     parent = nullptr;
	std::string                                 tag;
	std::unordered_map<std::string,std::string> attribValues;
	std::vector<XmlTag>                         children;
	std::string                                 text;
};

bool ParseXmlFile(const char* xmlFileName, XmlTag* rootTag);
