diff options
author | David Athay <ko2fan@gmail.com> | 2008-04-17 13:01:05 +0000 |
---|---|---|
committer | David Athay <ko2fan@gmail.com> | 2008-04-17 13:01:05 +0000 |
commit | 1f639454d986ea0d44b563eaa71019d9f1c01c24 (patch) | |
tree | 7a067b4522c154ddcab65e2ab6dbe3ea498b0f6e /src/player.h | |
parent | 6afe553c237bf0a9ffde8fc7eae469431718268e (diff) | |
download | mana-1f639454d986ea0d44b563eaa71019d9f1c01c24.tar.gz mana-1f639454d986ea0d44b563eaa71019d9f1c01c24.tar.bz2 mana-1f639454d986ea0d44b563eaa71019d9f1c01c24.tar.xz mana-1f639454d986ea0d44b563eaa71019d9f1c01c24.zip |
Added basic party support (no interface to create or quit yet)
Diffstat (limited to 'src/player.h')
-rw-r--r-- | src/player.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/player.h b/src/player.h index 4949783e..89cc1207 100644 --- a/src/player.h +++ b/src/player.h @@ -116,6 +116,16 @@ class Player : public Being short getNumberOfGuilds(); /** + * Set the player in party + */ + void setInParty(bool value); + + /** + * Returns whether player is in the party + */ + bool getInParty() const { return mInParty; } + + /** * Gets the way the character is blocked by other objects. */ virtual unsigned char getWalkMask() const @@ -135,6 +145,7 @@ class Player : public Being Gender mGender; Uint8 mHairStyle; Uint8 mHairColor; + bool mInParty; }; #endif |