drag ways (still needs undo though)
[potlatch2.git] / net / systemeD / halcyon / EntityUI.as
index 5ec4b538aea0578e8b16f862e7c35399edba022f..c50a0ad50ae146779cd9c4eca5a6227cdbe8de09 100644 (file)
@@ -68,6 +68,12 @@ package net.systemeD.halcyon {
                        listenSprite.hitArea=null;
                }
 
+               protected function offsetSprites(x:Number, y:Number):void {
+                       for each (var d:DisplayObject in sprites) {
+                               d.x=x; d.y=y;
+                       }
+               }
+
                protected function setListenSprite(hitzone:Sprite):void {
                        if (!listenSprite.parent) { addToLayer(listenSprite, CLICKSPRITE); }
             listenSprite.hitArea = hitzone;