[prev in list] [next in list] [prev in thread] [next in thread]
List: osflash-sandy
Subject: [Sandy] [sandy commit] r1064 - Added 'info' field for additional
From: codesite-noreply () google ! com
Date: 2009-04-29 0:50:31
Message-ID: 0016361e88c66b8b150468a6f7cb () google ! com
[Download RAW message or body]
Author: damonsbane
Date: Tue Apr 28 17:43:59 2009
New Revision: 1064
Modified:
trunk/sandy/haxe/trunk/src/sandy/events/BubbleEvent.hx
Log:
Added 'info' field for additional dynamic object attachment
to event
Modified: trunk/sandy/haxe/trunk/src/sandy/events/BubbleEvent.hx
==============================================================================
--- trunk/sandy/haxe/trunk/src/sandy/events/BubbleEvent.hx (original)
+++ trunk/sandy/haxe/trunk/src/sandy/events/BubbleEvent.hx Tue Apr 28
17:43:59 2009
@@ -8,13 +8,22 @@
*
* @author Thomas Pfeiffer
* @author Niel Drummond - haXe port
-* @author Russell Weir - haXe port
+* @author Russell Weir
* @version 3.1
*
* @see BubbleEventBroadcaster
*/
class BubbleEvent extends Event
{
+ /**
+ * Additional information that may be passed by the event
+ **/
+ public var info(default,null) : Dynamic;
+ /**
+ * The event target.
+ */
+ public var object(__getObject,null):Dynamic;
+
private var m_oTarget:Dynamic;
/**
@@ -27,17 +36,14 @@
*
* @param e A name for the event.
* @param oT The event target.
+ * @param info
*/
- public function new(e:String, oT:Dynamic)
+ public function new(e:String, oT:Dynamic, p_Info=null)
{
super(e, true, true);
- m_oTarget = oT;
+ this.m_oTarget = oT;
+ this.info = p_Info;
}
-
- /**
- * The event target.
- */
- public var object(__getObject,null):Dynamic;
private function __getObject():Dynamic
{
_______________________________________________
Sandy mailing list
Sandy@osflash.org
http://osflash.org/mailman/listinfo/sandy_osflash.org
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic