diff options
Diffstat (limited to 'sigencore/Player.cpp')
-rw-r--r-- | sigencore/Player.cpp | 25 |
1 files changed, 15 insertions, 10 deletions
diff --git a/sigencore/Player.cpp b/sigencore/Player.cpp index a5113ab9..a32ea123 100644 --- a/sigencore/Player.cpp +++ b/sigencore/Player.cpp @@ -41,16 +41,6 @@ Player::~Player() { } -bool Player::enterWorld(Overworld* world) -{ - return Client::enterWorld(world); -} - -void Player::exitWorld() -{ - Client::exitWorld(); -} - bool Player::enterArena(Arena* arena) { m_active.clear(); @@ -80,6 +70,21 @@ void Player::exitArena() Client::exitArena(); } +bool Player::enterWorld(Overworld* world) +{ + return Client::enterWorld(world); +} + +void Player::exitWorld() +{ + Client::exitWorld(); +} + +void Player::postRequest(const int type, const QVariantList& arguments) +{ + Client::postRequest(type, arguments); +} + int Player::itemWeightTotal(const bool distinct) const { QList<ItemWrapper*> items = m_items.keys(); |