diff options
Diffstat (limited to 'sigscript')
| -rw-r--r-- | sigscript/MapEffectWrapper.cpp | 8 | ||||
| -rw-r--r-- | sigscript/MapEffectWrapper.h | 4 |
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; |
