diff options
author | Ira Rice <irarice@gmail.com> | 2008-10-25 21:10:35 +0000 |
---|---|---|
committer | Ira Rice <irarice@gmail.com> | 2008-10-25 21:10:35 +0000 |
commit | da6d1acf73e3de0558548cd73006aadda33994f5 (patch) | |
tree | b1a61e702cacd04248027a58bfac8f5753cb8634 /src/npc.h | |
parent | f6ddb12a5c6eb85830a1f2d8188addfd14b5e1f1 (diff) | |
download | mana-client-da6d1acf73e3de0558548cd73006aadda33994f5.tar.gz mana-client-da6d1acf73e3de0558548cd73006aadda33994f5.tar.bz2 mana-client-da6d1acf73e3de0558548cd73006aadda33994f5.tar.xz mana-client-da6d1acf73e3de0558548cd73006aadda33994f5.zip |
Changed NPC's to inherit from the player class. This should be helpful
later, since they essentially are a beefed up player.
Diffstat (limited to 'src/npc.h')
-rw-r--r-- | src/npc.h | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -24,13 +24,13 @@ #ifndef _TMW_NPC_H #define _TMW_NPC_H -#include "being.h" +#include "player.h" class Network; class Graphics; class Text; -class NPC : public Being +class NPC : public Player { public: NPC(Uint32 id, Uint16 job, Map *map, Network *network); @@ -38,6 +38,7 @@ class NPC : public Being ~NPC(); void setName(const std::string &name); + void setGender(int gender); virtual Type getType() const; |