summaryrefslogtreecommitdiffstats
path: root/sigmod/MapWarp.h
diff options
context:
space:
mode:
Diffstat (limited to 'sigmod/MapWarp.h')
-rw-r--r--sigmod/MapWarp.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/sigmod/MapWarp.h b/sigmod/MapWarp.h
index d0ffb778..f99afdf3 100644
--- a/sigmod/MapWarp.h
+++ b/sigmod/MapWarp.h
@@ -18,9 +18,11 @@
#ifndef SIGMOD_MAPWARP
#define SIGMOD_MAPWARP
+// Sigcore includes
+#include "../sigcore/Script.h"
+
// Sigmod includes
#include "Object.h"
-#include "Script.h"
// Qt includes
#include <QtCore/QPoint>
@@ -60,14 +62,14 @@ class SIGMOD_EXPORT MapWarp : public Object
void setType(const Type type);
void setToMap(const int toMap);
void setToWarp(const int toWarp);
- void setScript(const Script& script);
+ void setScript(const Sigcore::Script& script);
QString name() const;
QPoint coordinate() const;
Type type() const;
int toMap() const;
int toWarp() const;
- Script script() const;
+ Sigcore::Script script() const;
MapWarp& operator=(const MapWarp& rhs);
private:
@@ -76,7 +78,7 @@ class SIGMOD_EXPORT MapWarp : public Object
Type m_type;
int m_toMap;
int m_toWarp;
- Script m_script;
+ Sigcore::Script m_script;
};
}
Q_DECLARE_METATYPE(Sigmod::MapWarp::Type)