summaryrefslogtreecommitdiff
path: root/src/net/manaserv/playerhandler.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/manaserv/playerhandler.h')
-rw-r--r--src/net/manaserv/playerhandler.h40
1 files changed, 20 insertions, 20 deletions
diff --git a/src/net/manaserv/playerhandler.h b/src/net/manaserv/playerhandler.h
index abb29e9b..e2a52d4d 100644
--- a/src/net/manaserv/playerhandler.h
+++ b/src/net/manaserv/playerhandler.h
@@ -32,7 +32,7 @@ namespace ManaServ {
struct RespawnRequestListener : public gcn::ActionListener
{
- void action(const gcn::ActionEvent &event);
+ void action(const gcn::ActionEvent &event) override;
};
static RespawnRequestListener respawnListener;
@@ -41,35 +41,35 @@ class PlayerHandler : public MessageHandler, public Net::PlayerHandler
public:
PlayerHandler();
- void handleMessage(MessageIn &msg);
+ void handleMessage(MessageIn &msg) override;
- void attack(int id);
- void emote(int emoteId);
+ void attack(int id) override;
+ void emote(int emoteId) override;
- void increaseAttribute(int attr);
- void decreaseAttribute(int attr);
- void increaseSkill(int skillId);
+ void increaseAttribute(int attr) override;
+ void decreaseAttribute(int attr) override;
+ void increaseSkill(int skillId) override;
- void pickUp(FloorItem *floorItem);
- void setDirection(char direction);
- void setDestination(int x, int y, int direction = -1);
- void changeAction(Being::Action action);
+ void pickUp(FloorItem *floorItem) override;
+ void setDirection(char direction) override;
+ void setDestination(int x, int y, int direction = -1) override;
+ void changeAction(Being::Action action) override;
- void respawn();
+ void respawn() override;
- void ignorePlayer(const std::string &player, bool ignore);
- void ignoreAll(bool ignore);
+ void ignorePlayer(const std::string &player, bool ignore) override;
+ void ignoreAll(bool ignore) override;
- bool canUseMagic();
- bool canCorrectAttributes();
+ bool canUseMagic() override;
+ bool canCorrectAttributes() override;
- int getJobLocation();
+ int getJobLocation() override;
- Vector getDefaultMoveSpeed() const;
+ Vector getDefaultMoveSpeed() const override;
- Vector getPixelsPerTickMoveSpeed(const Vector &speed, Map *map = 0);
+ Vector getPixelsPerTickMoveSpeed(const Vector &speed, Map *map = nullptr) override;
- bool usePixelPrecision()
+ bool usePixelPrecision() override
{ return true; }
private: