diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:35 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-02-02 12:47:35 +0300 |
commit | 7f9d948a34c0afeb2fbf3e663d058048248b622f (patch) | |
tree | e39b895cf4b6fd8391474f139e794751dd28ae52 /src/resources/spritedef.h | |
parent | 05f6f3e94abc5c1e1801d62100cef494e2711474 (diff) | |
download | mv-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.gz mv-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.bz2 mv-7f9d948a34c0afeb2fbf3e663d058048248b622f.tar.xz mv-7f9d948a34c0afeb2fbf3e663d058048248b622f.zip |
Add missing const and static into resource classes.
Diffstat (limited to 'src/resources/spritedef.h')
-rw-r--r-- | src/resources/spritedef.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/resources/spritedef.h b/src/resources/spritedef.h index ecedde507..b9f5d2b19 100644 --- a/src/resources/spritedef.h +++ b/src/resources/spritedef.h @@ -159,12 +159,16 @@ class SpriteDef final : public Resource void addAction(const unsigned hp, const std::string &name, Action *const action); - bool addSequence(const int start, const int end, const int delay, - const int offsetX, const int offsetY, - const int variant_offset, - int repeat, const int rand, - const ImageSet *const imageSet, - Animation *const animation) const; + static bool addSequence(const int start, + const int end, + const int delay, + const int offsetX, + const int offsetY, + const int variant_offset, + int repeat, + const int rand, + const ImageSet *const imageSet, + Animation *const animation); private: /** |