summaryrefslogtreecommitdiff
path: root/src/effectmanager.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-05-31 14:41:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-05-31 14:41:43 +0300
commite349c146291d6328726143935560522fe7def3c1 (patch)
treeefc7b610bbe353f562078f9c14972af1ba374e63 /src/effectmanager.h
parentd593fa58e641aa90d7e1f0759299c59d2665cca6 (diff)
downloadmanaplus-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.h19
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)