From c82785dc97801b4a457f6a4aa0a0a8fb82bb2e16 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Sun, 31 Dec 2000 22:53:07 +0000 Subject: [PATCH] The initial release of the skill class. This is just a simple class declaration. this is not usefull at all. --- eonsl/cskill.h | 47 +++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 47 insertions(+) create mode 100644 eonsl/cskill.h diff --git a/eonsl/cskill.h b/eonsl/cskill.h new file mode 100644 index 0000000..2076c63 --- /dev/null +++ b/eonsl/cskill.h @@ -0,0 +1,47 @@ +/*************************************************************************** + cskill.h - description + ------------------- + begin : Tue Dec 31 2000 + copyright : (C) 2000 by Michael Andreen + email : whale@linux.nu + changes : + ***************************************************************************/ + +/*************************************************************************** + * * + * 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. * + * * + ***************************************************************************/ + +#ifndef CCREATURE_H +#define CCREATURE_H + +//QT includes +#include +/* 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. + *@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 */ + CSkill(); + /** Load a creature from file. + * + */ + CSkill(int skillValue, QString); + /** Delete the CSkill object */ + ~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 -- 2.39.2