- /** Returns the race this unittype belongs to*/
- int Race();
-
- /** Sets the class for the unittype, it's represented as a integer */
- void setClass(std::string sClass);
- std::string Class();
-
- /** Sets the classes that this unittype targets. a vector is used. */
+ /** Used to get what type of race this is
+ * \returns returns the race as an integer
+ */
+ int race() const;
+
+ /** Sets the class for the unittype
+ * \param sClass the class represented as a string
+ */
+ void setUnitClass(std::string sClass);
+ /** used to get what type of class this unit is
+ * \returns the class as a string
+ */
+ std::string unitClass() const;
+
+ /** Sets the classes that this unittype targets
+ * \param Target the target list, as a vector of strings
+ */