Main Page   Class Hierarchy   Compound List   File List   Compound Members  

Player.h

00001 #ifndef _PLAYER_H_
00002 #define _PLAYER_H_
00003 
00004 #include "npc.h"
00005 #include "Quests.h"
00006 #include "Shops.h"
00007 #include <vector>
00008 using namespace std;
00009 
00010 class Quest;
00011 
00013 
00014 class Player : public NPC {
00015         public:
00017                 Quest *questptr;
00019                 int map;
00021                 int gold; // how many quests have you done?
00023                 int keys; 
00025                 /** returns '1' if your movement did complete a quest. */
00026                 int moveRelative(int dx, int dy); 
00027 
00028                 // Items
00030                 int weapon_mod;
00032                 int ac_mod; 
00034                 int strength_mod;
00036                 int agility_mod;
00038                 int healingpotions;
00040                 int manapotions;
00041 
00042                 // Spell inventory
00044                 bool bHasMagic;
00046                 bool bHasHealSpell;
00048                 bool bHasFireSpell;
00050                 bool bHasLightningSpell;
00052                 bool bHasEarthSpell;
00054                 bool bHasMeteor;
00056                 bool bHasHandOfDeath;
00058                 bool bHasFullHeal;
00060                 /** Damaging attack */
00061                 bool bHasScornAndAbuse;
00063 
00064                 bool bHasMessiah;
00066 
00067                 bool bHasTheRapture;
00068 
00070                 std::vector <Item*> yourStuff;
00071 
00073                 Player();
00074 };
00075 #endif

Generated on Thu Jun 3 16:21:29 2004 by doxygen1.2.15