summaryrefslogtreecommitdiff
path: root/src/localplayer.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/localplayer.h')
-rw-r--r--src/localplayer.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/localplayer.h b/src/localplayer.h
index 5f02de4f..2226671b 100644
--- a/src/localplayer.h
+++ b/src/localplayer.h
@@ -203,6 +203,11 @@ class LocalPlayer : public Player
void setXp(int xp);
/**
+ * Shows item pickup effect if the player is on a map.
+ */
+ void pickedUp(std::string item);
+
+ /**
* Returns the amount of experience points.
*/
int getXp() const { return mXp; }