diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-07-28 20:06:51 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-07-28 20:06:51 +0300 |
commit | 3b8a3b84346700abffa52745245310bf3eae6b18 (patch) | |
tree | dfe8c94d73da7fc3a350017f1905f3e25b5ec5e0 /src/imagesprite.h | |
parent | 1c1860cf83ba5d504b69c0ebd737139c8ab1bd46 (diff) | |
download | manaplus-3b8a3b84346700abffa52745245310bf3eae6b18.tar.gz manaplus-3b8a3b84346700abffa52745245310bf3eae6b18.tar.bz2 manaplus-3b8a3b84346700abffa52745245310bf3eae6b18.tar.xz manaplus-3b8a3b84346700abffa52745245310bf3eae6b18.zip |
Fix formating in other files.
Diffstat (limited to 'src/imagesprite.h')
-rw-r--r-- | src/imagesprite.h | 62 |
1 files changed, 31 insertions, 31 deletions
diff --git a/src/imagesprite.h b/src/imagesprite.h index 7d936b7f7..929d72a5e 100644 --- a/src/imagesprite.h +++ b/src/imagesprite.h @@ -30,52 +30,52 @@ class Graphics; class ImageSprite final : public Sprite { -public: - explicit ImageSprite(Image *const image); + public: + explicit ImageSprite(Image *const image); - A_DELETE_COPY(ImageSprite) + A_DELETE_COPY(ImageSprite) - ~ImageSprite(); + ~ImageSprite(); - bool reset() override final - { return false; } + bool reset() override final + { return false; } - bool play(const std::string &action A_UNUSED) override final - { return false; } + bool play(const std::string &action A_UNUSED) override final + { return false; } - bool update(const int time A_UNUSED) override final - { return false; } + bool update(const int time A_UNUSED) override final + { return false; } - void draw(Graphics *const graphics, - const int posX, const int posY) const override final; + void draw(Graphics *const graphics, + const int posX, const int posY) const override final; - int getWidth() const override final A_WARN_UNUSED - { return mImage ? mImage->getWidth() : 0; } + int getWidth() const override final A_WARN_UNUSED + { return mImage ? mImage->getWidth() : 0; } - int getHeight() const override final A_WARN_UNUSED - { return mImage ? mImage->getHeight() : 0; } + int getHeight() const override final A_WARN_UNUSED + { return mImage ? mImage->getHeight() : 0; } - const Image* getImage() const A_WARN_UNUSED - { return mImage; } + const Image* getImage() const A_WARN_UNUSED + { return mImage; } - bool setSpriteDirection(const SpriteDirection::Type - direction A_UNUSED) override final - { return false; } + bool setSpriteDirection(const SpriteDirection::Type + direction A_UNUSED) override final + { return false; } - int getNumberOfLayers() const A_WARN_UNUSED - { return 1; } + int getNumberOfLayers() const A_WARN_UNUSED + { return 1; } - unsigned int getCurrentFrame() const override final A_WARN_UNUSED - { return 0; } + unsigned int getCurrentFrame() const override final A_WARN_UNUSED + { return 0; } - unsigned int getFrameCount() const override final A_WARN_UNUSED - { return 1; } + unsigned int getFrameCount() const override final A_WARN_UNUSED + { return 1; } - bool updateNumber(const unsigned num A_UNUSED) override final - { return false; } + bool updateNumber(const unsigned num A_UNUSED) override final + { return false; } -private: - Image *mImage; + private: + Image *mImage; }; #endif // IMAGESPRITE_H |