]> ruin.nu Git - eonsl.git/commitdiff
Added all .h .cpp and .ui files to the kdevprj..
authorMichael Andreen <harv@ruin.nu>
Thu, 4 Jan 2001 19:26:44 +0000 (19:26 +0000)
committerMichael Andreen <harv@ruin.nu>
Thu, 4 Jan 2001 19:26:44 +0000 (19:26 +0000)
Fixed a simple interface for my skill class..

eonsl/cskill.cpp [new file with mode: 0644]
eonsl/cskill.h

diff --git a/eonsl/cskill.cpp b/eonsl/cskill.cpp
new file mode 100644 (file)
index 0000000..c37a525
--- /dev/null
@@ -0,0 +1,28 @@
+/***************************************************************************
+                          cskill.cpp  -  description
+                             -------------------
+    begin                : Thu Jan 4 2001
+    copyright            : (C) 2001 by Michael Andreen
+    email                : whale@linux.nu
+ ***************************************************************************/
+
+/***************************************************************************
+ *                                                                         *
+ *   This program is free software; you can redistribute it and/or modify  *
+ *   it under the terms of the GNU General Public License as published by  *
+ *   the Free Software Foundation; either version 2 of the License, or     *
+ *   (at your option) any later version.                                   *
+ *                                                                         *
+ ***************************************************************************/
+
+
+#include "cskill.h"
+
+CSkill::CSkill(){
+}
+/** Create a skill with some initial values.. */
+CSkill::CSkill(int value, bool easy = false, bool checked = false){
+}
+
+CSkill::~CSkill(){
+}
index 2076c6311172ceaf094bd5af9a64bab2ed234b79..c361eb435762b4e41e7efb7d7ace00119101cce1 100644 (file)
@@ -1,10 +1,9 @@
 /***************************************************************************
                           cskill.h  -  description
                              -------------------
 /***************************************************************************
                           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>
 #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
   *@author Michael Andreen
-  *@short A skill class, holds the most generic stuff for eon skills.
   */
   */
+
 class CSkill : public QObject
 {
 Q_OBJECT
 class CSkill : public QObject
 {
 Q_OBJECT
-public:
-       /** Create an empty CSkill object */
+public: 
        CSkill();
        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();
        ~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
 };
 
 #endif