diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-05-31 14:41:43 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-05-31 14:41:43 +0300 |
commit | e349c146291d6328726143935560522fe7def3c1 (patch) | |
tree | efc7b610bbe353f562078f9c14972af1ba374e63 /src/effectmanager.h | |
parent | d593fa58e641aa90d7e1f0759299c59d2665cca6 (diff) | |
download | manaplus-e349c146291d6328726143935560522fe7def3c1.tar.gz manaplus-e349c146291d6328726143935560522fe7def3c1.tar.bz2 manaplus-e349c146291d6328726143935560522fe7def3c1.tar.xz manaplus-e349c146291d6328726143935560522fe7def3c1.zip |
Move effectdescription into separate file.
Diffstat (limited to 'src/effectmanager.h')
-rw-r--r-- | src/effectmanager.h | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/src/effectmanager.h b/src/effectmanager.h index 71f3224c4..dd90ddbec 100644 --- a/src/effectmanager.h +++ b/src/effectmanager.h @@ -23,6 +23,8 @@ #ifndef EFFECTMANAGER_H #define EFFECTMANAGER_H +#include "resources/effectdescription.h" + #include <string> #include <vector> @@ -34,23 +36,6 @@ class Particle; class EffectManager final { public: - struct EffectDescription - { - EffectDescription(const int id0, const std::string &gfx0, - const std::string &sfx0, - const std::string &sprite0) : - id(id0), - gfx(gfx0), - sfx(sfx0), - sprite(sprite0) - { - } - int id; - std::string gfx; - std::string sfx; - std::string sprite; - }; - EffectManager(); A_DELETE_COPY(EffectManager) |