home *** CD-ROM | disk | FTP | other *** search
- package core.events
- {
- import flash.events.Event;
-
- public class CoreEvent extends Event
- {
-
- public static const PRE_UPDATE:String = "PreUpdate";
-
- public static const GAME_COMPLETE:String = "GameComplete";
-
- public static const POST_UPDATE:String = "PostUpdate";
-
- public static const UPDATE:String = "Update";
-
- public static const BONUS_COLLECT:String = "BonusCollect";
-
- public static const STAR_LIFE_END:String = "StarLifeEnd";
-
- public static const PLAYER_DEAD:String = "PlayerDead";
-
- public static const PAUSE_SIMULATION:String = "PauseSimulation";
-
- public static const DESTROY:String = "Destroy";
-
- public static const STAR_COLLECT:String = "StarCollect";
-
-
- public var data:Object;
-
- public function CoreEvent(type:String, data:Object = null, bubbles:Boolean = false, cancelable:Boolean = false)
- {
- super(type,bubbles,cancelable);
- this.data = data;
- }
- }
- }
-