/***************************************************************************
cskill.h - description
-------------------
- begin : Tue Dec 31 2000
- copyright : (C) 2000 by Michael Andreen
- email : whale@linux.nu
- changes :
+ begin : Thu Jan 4 2001
+ copyright : (C) 2001 by Michael Andreen
+ email : whale@linux.nu
***************************************************************************/
/***************************************************************************
* *
***************************************************************************/
-#ifndef CCREATURE_H
-#define CCREATURE_H
-//QT includes
+#ifndef CSKILL_H
+#define CSKILL_H
+
#include <qobject.h>
-/* This class holds information about a typical skill in Eon. this information is a list of specializations, if it is checked, if it is easily learnd and so on.
+
+/**This class is made for basic skills..
*@author Michael Andreen
- *@short A skill class, holds the most generic stuff for eon skills.
*/
+
class CSkill : public QObject
{
Q_OBJECT
-public:
- /** Create an empty CSkill object */
+public:
CSkill();
- /** Load a creature from file.
- *
- */
- CSkill(int skillValue, QString);
- /** Delete the CSkill object */
+ /** Create a skill with some initial values.. */
+ CSkill(int value, bool easy = false, bool checked = false);
+
~CSkill();
-protected:
- int m_SkillValue;
- bool m_EasyLearned;
- bool m_Checked;
- //I don't really know how to save the speclist, got to have a stl reference..
+
};
#endif