summaryrefslogtreecommitdiff
path: root/src/npc.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/npc.h')
-rw-r--r--src/npc.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/npc.h b/src/npc.h
index 0abd2395..a21731e7 100644
--- a/src/npc.h
+++ b/src/npc.h
@@ -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