739c9b60ad760b33dac31a358022733b99973ff4
[potlatch2.git] / net / systemeD / halcyon / MapEvent.as
1 package net.systemeD.halcyon {
2
3     import flash.events.Event;
4
5     /** Defines map-related events. */
6     public class MapEvent extends Event {
7
8                 public static const DOWNLOAD:String = "download";
9                 public static const RESIZE:String = "resize";
10                 public static const MOVE:String = "move";
11                 public static const SCALE:String = "scale";
12                 public static const NUDGE_BACKGROUND:String = "nudge_background";
13         public static const INITIALISED:String = "initialized";
14                 public static const BUMP:String = "bump";
15                 public static const ERROR:String = "error";                             // ** FIXME - this should be a dedicated ErrorEvent class
16                 public static const ATTENTION:String = "attention";             // ** FIXME - this should be a dedicated AttentionEvent class
17
18                 public var params:Object;
19
20         public function MapEvent(eventname:String, params:Object) {
21             super(eventname);
22             this.params=params;
23         }
24     }
25
26 }