diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/npc.cpp | 6 | ||||
-rw-r--r-- | src/npc.h | 1 |
2 files changed, 7 insertions, 0 deletions
diff --git a/src/npc.cpp b/src/npc.cpp index 2eebed7b..82b68af4 100644 --- a/src/npc.cpp +++ b/src/npc.cpp @@ -99,6 +99,12 @@ void NPC::setGender(int gender) Being::setGender(gender); } +void NPC::setSprite(int slot, int id, std::string color) +{ + // Fix this later should it not be adequate enough. + Being::setSprite(slot, id, color); +} + Being::Type NPC::getType() const { @@ -39,6 +39,7 @@ class NPC : public Player void setName(const std::string &name); void setGender(int gender); + void setSprite(int slot, int id, std::string color); virtual Type getType() const; |