]> ruin.nu Git - eonsl.git/blobdiff - eonsl/cskill.h
Added all .h .cpp and .ui files to the kdevprj..
[eonsl.git] / eonsl / cskill.h
index 2076c6311172ceaf094bd5af9a64bab2ed234b79..c361eb435762b4e41e7efb7d7ace00119101cce1 100644 (file)
@@ -1,10 +1,9 @@
 /***************************************************************************
                           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