summaryrefslogtreecommitdiff
path: root/src/npc.h
diff options
context:
space:
mode:
authorBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-03 17:00:07 +0000
committerBjørn Lindeijer <bjorn@lindeijer.nl>2006-12-03 17:00:07 +0000
commit061b9e817ffe73acca163510b276e6ca7dd8f6c2 (patch)
treec1488381a9a62520f94cdb353bd5bd12ebc1b699 /src/npc.h
parent092bf185fc056338bcde2749a304e576edf342fd (diff)
downloadmana-client-061b9e817ffe73acca163510b276e6ca7dd8f6c2.tar.gz
mana-client-061b9e817ffe73acca163510b276e6ca7dd8f6c2.tar.bz2
mana-client-061b9e817ffe73acca163510b276e6ca7dd8f6c2.tar.xz
mana-client-061b9e817ffe73acca163510b276e6ca7dd8f6c2.zip
Made NPC names visible. Windows are now invisible by default.
Diffstat (limited to 'src/npc.h')
-rw-r--r--src/npc.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/npc.h b/src/npc.h
index b08c315c..0d9966bd 100644
--- a/src/npc.h
+++ b/src/npc.h
@@ -27,13 +27,18 @@
#include "being.h"
class Network;
+class Graphics;
class NPC : public Being
{
public:
NPC(Uint32 id, Uint16 job, Map *map, Network *network);
- virtual Type getType() const;
+ virtual Type
+ getType() const;
+
+ virtual void
+ drawName(Graphics *graphics, Sint32 offsetX, Sint32 offsetY);
void talk();
void nextDialog();