diff options
Diffstat (limited to 'src/npc.h')
-rw-r--r-- | src/npc.h | 10 |
1 files changed, 2 insertions, 8 deletions
@@ -22,12 +22,12 @@ #ifndef NPC_H #define NPC_H -#include "player.h" +#include "being.h" class Graphics; class Text; -class NPC : public Player +class NPC : public Being { public: NPC(int id, int subtype, Map *map); @@ -40,9 +40,6 @@ class NPC : public Player void talk(); - void setSprite(unsigned int slot, int id, - const std::string &color = ""); - /** * Gets the way an NPC is blocked by other things on the map */ @@ -65,9 +62,6 @@ class NPC : public Player */ virtual Map::BlockType getBlockType() const { return Map::BLOCKTYPE_CHARACTER; } //blocks like a player character - - // Colors don't change for NPCs - virtual void updateColors() {} }; #endif |