1 /***************************************************************************
2 ccreature.h - description
4 begin : Tue Oct 31 2000
5 copyright : (C) 2000 by Michael Andreen
8 ***************************************************************************/
10 /***************************************************************************
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. *
17 ***************************************************************************/
25 /**This class is the base class for every creature; living, undead and so on.
26 This will probably be the only class for creaturs in the end.
27 *@author Michael Andreen
28 *@short Class for creatures; Humans, monsters and so on.
30 class CCreature : public QObject
34 /** Create an empty CCreature object */
36 /** Load a creature from file. The only thing it does is calling
37 the memberfunction load(QString *filename)
38 @param filename The path to the file that holds the creature
40 CCreature(QString filename);
41 /**Create a creature (probably a npc) with randomized attributes
42 @param race i.e: Human, Elf
43 @param profession e.g: Warrior, thief
44 @param level defines how good the creature are, e.g: 0=not good at all.
46 CCreature(QString race, QString profession, int level);
47 /** Delete the CCreature object */
51 * This is the pointer to the first closecombat weapon.
53 // CCloseWeapon* m_firstCWeapon;
55 * This is the pointer to the first range weapon.
57 // CRangeWeapon* m_firstRWeapon;
59 * This is the pointer to the first container. This hold a linked list with a lot of items.
61 // CContainer* m_firstContainer;