From 7f1b56b96c812d8b4ff6121afc933c30edae7f47 Mon Sep 17 00:00:00 2001 From: Ben Boeckel Date: Thu, 19 Mar 2009 18:53:46 -0400 Subject: Add position to MapEffect and MapWarp --- sigscript/MapEffectWrapper.h | 1 + 1 file changed, 1 insertion(+) (limited to 'sigscript/MapEffectWrapper.h') diff --git a/sigscript/MapEffectWrapper.h b/sigscript/MapEffectWrapper.h index 0b9b5863..dd43e0bd 100644 --- a/sigscript/MapEffectWrapper.h +++ b/sigscript/MapEffectWrapper.h @@ -46,6 +46,7 @@ class SIGSCRIPT_EXPORT MapEffectWrapper : public ObjectWrapper static MapEffectWrapper* create(const Sigmod::MapEffect* effect, MapWrapper* parent); Q_SCRIPTABLE QString name() const; + Q_SCRIPTABLE QPoint position() const; Q_SCRIPTABLE QPainterPath area() const; Q_SCRIPTABLE SkinWrapper* skin(); Q_SCRIPTABLE bool isGhost() const; -- cgit