summaryrefslogtreecommitdiffstats
path: root/sigscript
diff options
context:
space:
mode:
authorBen Boeckel <MathStuf@gmail.com>2009-01-18 18:54:47 -0500
committerBen Boeckel <MathStuf@gmail.com>2009-01-18 18:54:47 -0500
commite30ee1a42fef0346b57333de118d9f3ca18bfa84 (patch)
tree3795534079a88f65e0000d9208c690f21c4926af /sigscript
parent640b12f68997d7862df3a8d6cea1f40fc5ae8cca (diff)
downloadsigen-e30ee1a42fef0346b57333de118d9f3ca18bfa84.tar.gz
sigen-e30ee1a42fef0346b57333de118d9f3ca18bfa84.tar.xz
sigen-e30ee1a42fef0346b57333de118d9f3ca18bfa84.zip
Changed MapEffect coordinate to position
Diffstat (limited to 'sigscript')
-rw-r--r--sigscript/MapEffectWrapper.cpp8
-rw-r--r--sigscript/MapEffectWrapper.h4
2 files changed, 6 insertions, 6 deletions
diff --git a/sigscript/MapEffectWrapper.cpp b/sigscript/MapEffectWrapper.cpp
index d51cdca0..da10d478 100644
--- a/sigscript/MapEffectWrapper.cpp
+++ b/sigscript/MapEffectWrapper.cpp
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -41,10 +41,10 @@ QString Sigscript::MapEffectWrapper::name() const
return m_effect->name();
}
-QPoint Sigscript::MapEffectWrapper::coordinate() const
+QPoint Sigscript::MapEffectWrapper::position() const
{
- ALLOW_OVERRIDE_SO(effect, QPoint, coordinate);
- return m_effect->coordinate();
+ ALLOW_OVERRIDE_SO(effect, QPoint, position);
+ return m_effect->position();
}
Sigscript::SkinWrapper* Sigscript::MapEffectWrapper::skin()
diff --git a/sigscript/MapEffectWrapper.h b/sigscript/MapEffectWrapper.h
index 5199f87f..f99ed73e 100644
--- a/sigscript/MapEffectWrapper.h
+++ b/sigscript/MapEffectWrapper.h
@@ -1,5 +1,5 @@
/*
- * Copyright 2008 Ben Boeckel <MathStuf@gmail.com>
+ * Copyright 2008-2009 Ben Boeckel <MathStuf@gmail.com>
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
@@ -38,7 +38,7 @@ class SIGSCRIPT_EXPORT MapEffectWrapper : public ObjectWrapper
static MapEffectWrapper* create(const Sigmod::MapEffect* effect, MapWrapper* parent);
Q_SCRIPTABLE QString name() const;
- Q_SCRIPTABLE QPoint coordinate() const;
+ Q_SCRIPTABLE QPoint position() const;
Q_SCRIPTABLE SkinWrapper* skin();
Q_SCRIPTABLE bool isGhost() const;
Q_SCRIPTABLE Sigcore::Script script() const;