summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h12
1 files changed, 3 insertions, 9 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 01f31e01..4f7e32a6 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -55,7 +55,7 @@ enum
PICKUP_TOO_FAR,
PICKUP_INV_FULL,
PICKUP_STACK_FULL,
- PICKUP_DROP_STEAL,
+ PICKUP_DROP_STEAL
};
/**
@@ -70,14 +70,8 @@ enum { ATTACK_RANGE_NOT_SET = -1 };
class LocalPlayer : public Being
{
public:
- /**
- * Constructor.
- */
LocalPlayer(int id= 65535, int subtype = 0);
- /**
- * Destructor.
- */
~LocalPlayer();
virtual void logic();
@@ -219,7 +213,7 @@ class LocalPlayer : public Being
void addMessageToQueue(const std::string &message,
int color = UserPalette::EXP_INFO);
- void event(Channels channel, const Mana::Event &event);
+ void event(Event::Channel channel, const Event &event);
/**
* Tells the engine wether to check
@@ -274,4 +268,4 @@ class LocalPlayer : public Being
extern LocalPlayer *player_node;
-#endif
+#endif // LOCALPLAYER_H