diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-26 13:54:12 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-26 14:41:36 +0300 |
commit | 851cc4e95093cb7bd1adce99be95a864d68f8d38 (patch) | |
tree | 50096efbfea146de63432ca95d1faacdbd62df80 /src/being/localplayer.h | |
parent | 476a73f07d4dae7f0cc3c79a44fbd2c2f8c4bf5f (diff) | |
download | plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.gz plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.bz2 plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.tar.xz plus-851cc4e95093cb7bd1adce99be95a864d68f8d38.zip |
remove useless virtual keywords.
Diffstat (limited to 'src/being/localplayer.h')
-rw-r--r-- | src/being/localplayer.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/being/localplayer.h b/src/being/localplayer.h index abc4644e2..adf712187 100644 --- a/src/being/localplayer.h +++ b/src/being/localplayer.h @@ -81,12 +81,12 @@ class LocalPlayer final : public Being, */ ~LocalPlayer(); - virtual void logic() override; + void logic() override; void slowLogic(); - virtual void setAction(const Action &action, - const int attackType = 0) override; + void setAction(const Action &action, + const int attackType = 0) override; /** * Compute the next pathnode location when walking using keyboard. @@ -101,10 +101,10 @@ class LocalPlayer final : public Being, * Also, when specified, it picks up an item at the end of a path * or attack target. */ - virtual void nextTile() override + void nextTile() override { nextTile(0); } - virtual void nextTile(unsigned char dir); + void nextTile(unsigned char dir); bool pickUp(FloorItem *const item); @@ -150,7 +150,7 @@ class LocalPlayer final : public Being, /** * Sets a new destination for this being to walk to. */ - virtual void setDestination(const int x, const int y); + void setDestination(const int x, const int y); /** * Sets a new direction to keep walking in. @@ -503,9 +503,8 @@ class LocalPlayer final : public Being, protected: void updateCoords() override; - - virtual void handleStatusEffect(StatusEffect *const effect, - const int effectId); + void handleStatusEffect(StatusEffect *const effect, + const int effectId); void startWalking(const unsigned char dir); |