add node drawing + dragging & highlight selected way using stylesheet
[potlatch2.git] / net / systemeD / halcyon / connection / NodeMovedEvent.as
1 package net.systemeD.halcyon.connection {
2
3     import flash.events.Event;
4
5     public class NodeMovedEvent extends EntityEvent {
6         private var _oldLat:Number;
7         private var _oldLon:Number;
8
9         public function NodeMovedEvent(type:String, item:Node, oldLat:Number, oldLon:Number) {
10             super(type, item);
11             this._oldLat = oldLat;
12             this._oldLon = oldLon;
13         }
14
15         public function get oldLat():Number { return _oldLat; }
16         public function get oldLon():Number { return _oldLon; }
17
18         public override function toString():String {
19             return super.toString() + "::from "+_oldLat+","+_oldLon;
20         }
21     }
22
23 }
24