Dispatch an event when the map sprites etc have been initialized
[potlatch2.git] / net / systemeD / halcyon / MapEvent.as
1 package net.systemeD.halcyon {
2
3     import flash.events.Event;
4
5     public class MapEvent extends Event {
6
7                 public static const DOWNLOAD:String = "download";
8                 public static const RESIZE:String = "resize";
9                 public static const MOVE:String = "move";
10                 public static const SCALE:String = "scale";
11                 public static const NUDGE_BACKGROUND:String = "nudge_background";
12                 public static const ERROR:String = "error";
13         public static const INITIALISED:String = "initialized";
14
15                 public var params:Object;
16
17         public function MapEvent(eventname:String, params:Object) {
18             super(eventname);
19             this.params=params;
20         }
21     }
22
23 }