diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-02-23 01:35:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-02-23 01:35:50 +0300 |
commit | 2f4c37b969c0aeeb35c38dddb0b5f62ea86233bd (patch) | |
tree | 275915ca8dd3fc5809f08239153430cb5c5ffa71 /src/effectmanager.h | |
parent | c842a29a63ff5bd7a09aa1c2dfbc96c4a94d4243 (diff) | |
download | plus-2f4c37b969c0aeeb35c38dddb0b5f62ea86233bd.tar.gz plus-2f4c37b969c0aeeb35c38dddb0b5f62ea86233bd.tar.bz2 plus-2f4c37b969c0aeeb35c38dddb0b5f62ea86233bd.tar.xz plus-2f4c37b969c0aeeb35c38dddb0b5f62ea86233bd.zip |
Improve effectmanager class.
Diffstat (limited to 'src/effectmanager.h')
-rw-r--r-- | src/effectmanager.h | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/src/effectmanager.h b/src/effectmanager.h index b5d8e5bfc..d8bbd691b 100644 --- a/src/effectmanager.h +++ b/src/effectmanager.h @@ -37,9 +37,16 @@ class EffectManager final public: struct EffectDescription { - int id; - std::string GFX; - std::string SFX; + EffectDescription(int id0, const std::string GFX0, + const std::string SFX0) : + id(id0), + GFX(GFX0), + SFX(SFX0) + { + } + int id; + std::string GFX; + std::string SFX; }; EffectManager(); |