added support for properly named attack-strength tag (and keep support for old name)

This commit is contained in:
Mark Vejvoda
2013-10-03 14:51:26 +00:00
parent f45987d59a
commit ada8810666
4 changed files with 60 additions and 15 deletions

View File

@@ -178,9 +178,11 @@ public:
XmlNode *getChild(unsigned int i) const;
XmlNode *getChild(const string &childName, unsigned int childIndex=0) const;
XmlNode *getChildWithAliases(vector<string> childNameList, unsigned int childIndex=0) const;
vector<XmlNode *> getChildList(const string &childName) const;
bool hasChildAtIndex(const string &childName, int childIndex=0) const;
bool hasChild(const string &childName) const;
bool hasChildWithAliases(vector<string> childNameList) const;
int clearChild(const string &childName);