]> ruin.nu Git - eonsl.git/blob - eonsl/cskill.h
2076c6311172ceaf094bd5af9a64bab2ed234b79
[eonsl.git] / eonsl / cskill.h
1 /***************************************************************************
2                           cskill.h  -  description
3                              -------------------
4     begin     : Tue Dec 31 2000
5     copyright : (C) 2000 by Michael Andreen
6     email     : whale@linux.nu
7     changes   :
8  ***************************************************************************/
9
10 /***************************************************************************
11  *                                                                         *
12  *   This program is free software; you can redistribute it and/or modify  *
13  *   it under the terms of the GNU General Public License as published by  *
14  *   the Free Software Foundation; either version 2 of the License, or     *
15  *   (at your option) any later version.                                   *
16  *                                                                         *
17  ***************************************************************************/
18
19 #ifndef CCREATURE_H
20 #define CCREATURE_H
21
22 //QT includes
23 #include <qobject.h>
24 /* 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.
25   *@author Michael Andreen
26   *@short A skill class, holds the most generic stuff for eon skills.
27   */
28 class CSkill : public QObject
29 {
30 Q_OBJECT
31 public:
32         /** Create an empty CSkill object */
33         CSkill();
34         /** Load a creature from file.
35          *
36          */
37         CSkill(int skillValue, QString);
38         /** Delete the CSkill object */
39         ~CSkill();
40 protected:
41         int m_SkillValue;
42         bool m_EasyLearned;
43         bool m_Checked;
44         //I don't really know how to save the speclist, got to have a stl reference..
45 };
46
47 #endif