This has received the Ray seal of approval, and may now live amongst the other utilities in Narya.
git-svn-id: svn+ssh://src.earth.threerings.net/narya/trunk@5194 542714f4-19e9-0310-aa3c-eee0fc999fb1
This commit is contained in:
@@ -0,0 +1,30 @@
|
||||
//
|
||||
// $Id$
|
||||
|
||||
package com.threerings.util {
|
||||
|
||||
import flash.events.Event;
|
||||
|
||||
public class ElementExpiredEvent extends Event
|
||||
{
|
||||
public static const ELEMENT_EXPIRED :String = "ElementExpired";
|
||||
|
||||
public function ElementExpiredEvent (element :Object)
|
||||
{
|
||||
super(ELEMENT_EXPIRED);
|
||||
_element = element;
|
||||
}
|
||||
|
||||
public function get element () :Object
|
||||
{
|
||||
return _element;
|
||||
}
|
||||
|
||||
override public function clone () :Event
|
||||
{
|
||||
return new ElementExpiredEvent(_element);
|
||||
}
|
||||
|
||||
protected var _element :Object;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user